[Bug target/64405] [arm] Invalid codegenaration for ARMv3 and ARMv2

2016-11-29 Thread Sergey.Belyashov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64405 --- Comment #4 from Sergey Belyashov --- I found workaround: add -mno-thumb-interwork flag to the compiler. But it is not good idea, to enable thumb-interwork for pre-armv4 targets by default...

[Bug target/64405] [arm] Invalid codegenaration for ARMv3 and ARMv2

2016-11-29 Thread Sergey.Belyashov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64405 --- Comment #3 from Sergey Belyashov --- I try to investigate problem agait. But I do not understand, how function can be ARM_FT_INTERWORKED on armv2? It is possible only on armv4t and armv5. Moreover, under the case gcc_assert(arm_arch4t || arm_

[Bug target/64405] [arm] Invalid codegenaration for ARMv3 and ARMv2

2014-12-25 Thread Sergey.Belyashov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64405 Sergey Belyashov changed: What|Removed |Added Target||ARMv4 Known to fail|

[Bug target/64405] New: [arm] Invalid codegenaration for ARMv3 and ARMv2

2014-12-25 Thread Sergey.Belyashov at gmail dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: Sergey.Belyashov at gmail dot com I try to compile program for ARMv3 or ARMv2 CPU target using GCC (4.8.x). It produces assembler code with BX LR instructions (return from function) which GAS (2.23.2) cannot compile

[Bug target/63808] [arm] Invalid register saving in FIQ handler causes register corruption

2014-11-11 Thread Sergey.Belyashov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63808 --- Comment #5 from Sergey Belyashov --- Sorry. I am wrong about register corruption. It is bug of my simulator. But r8 in the list is not neccessary in fiq handler.

[Bug target/63808] [arm] Invalid register saving in FIQ handler causes register corruption

2014-11-11 Thread Sergey.Belyashov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63808 --- Comment #4 from Sergey Belyashov --- AT91SAM7X256

[Bug target/63808] [arm] Invalid register saving in FIQ handler causes register corruption

2014-11-11 Thread Sergey.Belyashov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63808 --- Comment #2 from Sergey Belyashov --- Target is armv4: I use gcc options: -marm -march=armv4

[Bug target/63808] New: [arm] Invalid register saving in FIQ handler causes register corruption

2014-11-10 Thread Sergey.Belyashov at gmail dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: Sergey.Belyashov at gmail dot com I have found strange bug which causes USR-mode register damage after FIQ processing. Fiq handler stores R8 to the stack and loads it to USR-mode

[Bug c/59602] New: ARM, __attribute__((interrupt("FIQ"))) causes internal compiler error with -O0

2013-12-26 Thread Sergey.Belyashov at gmail dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: Sergey.Belyashov at gmail dot com I try to compile simple program. If I use some level of optimization more than zero then no problem. But without optimization com

[Bug c/56792] New: AVR, internal compiler error on build avr-libc

2013-03-31 Thread Sergey.Belyashov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56792 Bug #: 56792 Summary: AVR, internal compiler error on build avr-libc Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal