[Bug target/78694] [ARM] ICE with -mthumb -ftls-model=local-exec -O2

sebastian.huber@embedded-brains.de gcc-bugzilla@gcc.gnu.org
Thu Dec 8 10:57:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78694

--- Comment #12 from Sebastian Huber <sebastian.huber@embedded-brains.de> ---
Its strange that it is so hard to reproduce.  Maybe it has something to do with
the default architecture version.

It fails with:

-mthumb -O2 -ftls-model=local-exec -march=armv4t
-mthumb -O2 -ftls-model=local-exec -march=armv5t
-mthumb -O2 -ftls-model=local-exec -march=armv6

It works with:

-mthumb -O2 -ftls-model=local-exec -march=armv7


More information about the Gcc-bugs mailing list