[Bug binutils/3276] Alignment error with static const variable in inline function

2006-09-28 Thread jespdj at hotmail dot com
--- Additional Comments From jespdj at hotmail dot com 2006-09-28 08:07 --- Sorry, meant to include the version info of ld instead of ln: $ ld --version GNU ld version 2.17.50 20060817 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it

[Bug binutils/3276] Alignment error with static const variable in inline function

2006-09-28 Thread jespdj at hotmail dot com
--- Additional Comments From jespdj at hotmail dot com 2006-09-28 08:06 --- $ as --version GNU assembler 2.17.50 20060817 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program

[Bug binutils/3276] Alignment error with static const variable in inline function

2006-09-28 Thread jespdj at hotmail dot com
--- Additional Comments From jespdj at hotmail dot com 2006-09-28 07:48 --- Actually the output of running the above program is slightly different (the address is different), but still wrong: $ ./tst sizeof(x) = 4, __alignof__(x) = 16 Address of x: 0x40F418 - ALIGNMENT ERROR

[Bug binutils/3276] Alignment error with static const variable in inline function

2006-09-28 Thread jespdj at hotmail dot com
--- Additional Comments From jespdj at hotmail dot com 2006-09-28 07:45 --- Created an attachment (id=1333) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1333&action=view) Assember code produced by g++ This is the assembler code produced by g++ when compiling the sour

[Bug binutils/3276] New: Alignment error with static const variable in inline function

2006-09-28 Thread jespdj at hotmail dot com
ls AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jespdj at hotmail dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=3276 --- You are receiving this mail because: --- You are on the CC