[Bug target/31938] Wrong code on int to short cast on armeb

2009-04-30 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-04-30 10:25 --- If there is a request to support a big endian default configuration for ARM, there should be a separate enhancement request for that. Given this, I'd close this bug as being invalid. I've filed PR39975 for this

[Bug target/31938] Wrong code on int to short cast on armeb

2009-04-19 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-04-19 21:59 --- I believe this is a case of wrong usage of the compiler and this bug could be closed as invalid. However the question remains about big endian and little endian compiler options and supporting or not support armeb

[Bug target/31938] Wrong code on int to short cast on armeb

2007-05-31 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2007-05-31 19:48 --- I cannot reproduce this on an armv5b-softvfp-linux machine, with either gcc-3.3.6, gcc-4.0.4, gcc-4.1.2, or gcc-4.2.0 (all bootstrapped natively on the arm machine). However, I suspect your test case is wrong. Unpatched

[Bug target/31938] Wrong code on int to short cast on armeb

2007-05-31 Thread bigfoot at private dot dk
--- Comment #2 from bigfoot at private dot dk 2007-05-31 21:22 --- (In reply to comment #1) However, I suspect your test case is wrong. Unpatched versions of gcc default to little-endian mode on arm, even if you configure with --target=arm${foo}b-${bar}. Since you didn't pass