[Bug target/29249] Alignment error with static const variable in inline function

2006-09-28 Thread jespdj at hotmail dot com
--- Comment #8 from jespdj at hotmail dot com 2006-09-28 07:45 --- Ok, I filed a bug report for binutils about this. http://sourceware.org/bugzilla/show_bug.cgi?id=3276 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29249

[Bug target/29249] Alignment error with static const variable in inline function

2006-09-27 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-09-27 21:19 --- So GCC is emitting the correct alignment (the .align) so this is either a binutils issue or just a windows one in general. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug target/29249] Alignment error with static const variable in inline function

2006-09-27 Thread jespdj at hotmail dot com
--- Comment #6 from jespdj at hotmail dot com 2006-09-27 21:12 --- Created an attachment (id=12343) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12343&action=view) assembly source without "inline" This is the assembly file I get when I compile without "inline", so the source look

[Bug target/29249] Alignment error with static const variable in inline function

2006-09-27 Thread jespdj at hotmail dot com
--- Comment #5 from jespdj at hotmail dot com 2006-09-27 21:11 --- Created an attachment (id=12342) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12342&action=view) output of g++ tst.cpp -S Here is the assembler source produced with g++ tst.cpp -S At the bottom of the file is thi

[Bug target/29249] Alignment error with static const variable in inline function

2006-09-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-09-27 18:10 --- in the .s file you should have something like: .align 16 .type x.1887, @object .size x.1887, 4 x.1887: .long 123 Notice the .align there. Can you attach the .s file that i

[Bug target/29249] Alignment error with static const variable in inline function

2006-09-27 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-09-27 11:15 --- This is a target/abi issue, it works for me on i686-linux. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --