[Bug target/46972] __thread storage class variable gets optimized out on ARM

2011-12-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-21 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #9 fro

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-20 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 --- Comment #8 from Andrew Pinski 2010-12-20 16:51:29 UTC --- (In reply to comment #7) > (In reply to comment #6) > > I think enumtls has been fixed on the trunk with respect of > > fsection-anchors. > > Can you try the trunk? > > Yes, looks l

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-20 Thread paulius.zaleckas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 --- Comment #7 from Paulius Zaleckas 2010-12-20 11:28:14 UTC --- (In reply to comment #6) > I think enumtls has been fixed on the trunk with respect of fsection-anchors. > Can you try the trunk? Yes, looks like this bug is fixed in trunk. Assem

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-19 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 --- Comment #6 from Andrew Pinski 2010-12-19 21:53:14 UTC --- I think enumtls has been fixed on the trunk with respect of fsection-anchors. Can you try the trunk?

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-19 Thread paulius.zaleckas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 --- Comment #5 from Paulius Zaleckas 2010-12-19 19:39:07 UTC --- Did some testing through various GCC versions: 4.5.2 - buggy 4.4.5 - buggy 4.3.5 - OK, but does not have -fsection-anchors optimization for ARM

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-19 Thread paulius.zaleckas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 --- Comment #4 from Paulius Zaleckas 2010-12-19 16:07:15 UTC --- Created attachment 22823 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22823 diff with and without -fsection-anchors I have found out that it is -fsection-anchors optimizatio

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-16 Thread paulius.zaleckas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 --- Comment #3 from Paulius Zaleckas 2010-12-16 20:11:54 UTC --- (In reply to comment #2) > So I suspect the issue is dependent on emutls or uclibc. Yes, you are right. I have experimented today with few toolchains and build few variants myself

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-16 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- Comment #2

[Bug target/46972] __thread storage class variable gets optimized out on ARM

2010-12-15 Thread paulius.zaleckas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46972 --- Comment #1 from Paulius Zaleckas 2010-12-15 21:14:16 UTC --- Created attachment 22776 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22776 assembler This is what I get with gcc's -S -fverbose-asm