--- old/src/java.desktop/share/native/libmlib_image/mlib_c_ImageLookUp_f.c 2015-05-28 12:10:44.668538703 +0900 +++ new/src/java.desktop/share/native/libmlib_image/mlib_c_ImageLookUp_f.c 2015-05-28 12:10:44.513623110 +0900 @@ -739,7 +739,14 @@ table_base[c] = &table[c][32768]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_u8, mlib_s16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -759,7 +766,14 @@ table_base[c] = &table[c][0]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_u8, mlib_u16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -779,7 +793,14 @@ table_base[c] = &table[c][TABLE_SHIFT_S32]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_u8, mlib_s32, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1345,7 +1366,14 @@ table_base[c] = &table[c][32768]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_s16, mlib_s16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1365,7 +1393,14 @@ table_base[c] = &table[c][0]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_s16, mlib_u16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1385,7 +1420,14 @@ table_base[c] = &table[c][TABLE_SHIFT_S32]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_s16, mlib_s32, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1405,7 +1447,14 @@ table_base[c] = &table[c][32768]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_u16, mlib_s16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1425,7 +1474,14 @@ table_base[c] = &table[c][0]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_u16, mlib_u16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1445,7 +1501,14 @@ table_base[c] = &table[c][TABLE_SHIFT_S32]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_u16, mlib_s32, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1785,7 +1848,14 @@ table_base[c] = &table[c][32768]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_s32, mlib_s16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1805,7 +1875,14 @@ table_base[c] = &table[c][0]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_s32, mlib_u16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -1825,7 +1902,14 @@ table_base[c] = &table[c][TABLE_SHIFT_S32]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUP(mlib_s32, mlib_s32, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -2835,7 +2919,14 @@ table_base[c] = &table[c][TABLE_SHIFT_S32]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUPSI(mlib_u8, mlib_s32, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -3292,7 +3383,14 @@ table_base[c] = &table[c][32768]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUPSI(mlib_s16, mlib_s16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -3332,7 +3430,14 @@ table_base[c] = &table[c][TABLE_SHIFT_S32]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUPSI(mlib_s16, mlib_s32, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -3372,7 +3477,14 @@ table_base[c] = &table[c][0]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUPSI(mlib_u16, mlib_u16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -3392,7 +3504,14 @@ table_base[c] = &table[c][TABLE_SHIFT_S32]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUPSI(mlib_u16, mlib_s32, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -3832,7 +3951,14 @@ table_base[c] = &table[c][32768]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUPSI(mlib_s32, mlib_s16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/ @@ -3852,7 +3978,14 @@ table_base[c] = &table[c][0]; } +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif MLIB_C_IMAGELOOKUPSI(mlib_s32, mlib_u16, table_base); +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif } /***************************************************************/