Move setjump_buffer to the beginning of the structure, to make sure it is

2004-03-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c (struct my_error_mgr): Move setjump_buffer
        to the beginning of the structure, to make sure it is aligned on a
        16-byte boundary for ia64, even with icc. Fixes #138357.
This commit is contained in:
Manish Singh 2004-03-29 23:38:58 +00:00 committed by Manish Singh
parent 951f1589a1
commit fd987ef9bb
8 changed files with 55 additions and 14 deletions

View File

@ -1,3 +1,9 @@
2004-03-29 Manish Singh <yosh@gimp.org>
* plug-ins/common/jpeg.c (struct my_error_mgr): Move setjump_buffer
to the beginning of the structure, to make sure it is aligned on a
16-byte boundary for ia64, even with icc. Fixes #138357.
2004-03-29 Sven Neumann <sven@gimp.org>
* app/config/gimpguiconfig.c: changed the default for "help-locales"

View File

@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*

View File

@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*

View File

@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*

View File

@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*

View File

@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*

View File

@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*

View File

@ -700,9 +700,14 @@ COM_handler (j_decompress_ptr cinfo)
typedef struct my_error_mgr
{
struct jpeg_error_mgr pub; /* "public" fields */
/* This field should be first to guarantee proper alignment of the
* setjmp_buffer on all platforms. Specifically, on linux ia64 this
* needs to be 16-byte aligned and some glibc/icc combinations don't
* guarantee this. See bug #138357 for details.
*/
jmp_buf setjmp_buffer; /* for return to caller */
struct jpeg_error_mgr pub; /* "public" fields */
} *my_error_ptr;
/*