public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64542] New: ARM use of ARM instruction on Thumb-only target
@ 2015-01-08 16:48 joel at gcc dot gnu.org
  2015-01-08 16:53 ` [Bug target/64542] " joel at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: joel at gcc dot gnu.org @ 2015-01-08 16:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64542
           Summary: ARM use of ARM instruction on Thumb-only target
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel at gcc dot gnu.org

$ arm-rtems4.11-gcc --version
arm-rtems4.11-gcc (GCC) 4.9.3 20150104 (prerelease)

arm-rtems4.11-gcc --pipe  -mthumb -march=armv6-m --pipe -DHAVE_CONFIG_H  
-I../../.. -I../../../../../../lib/include   -g -O2 -Wall
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
libscorecpu_a-cpu.o -MD -MP -MF .deps/libscorecpu_a-cpu.Tpo -c -o
libscorecpu_a-cpu.o `test -f 'cpu.c' || echo
'/users/joel/test-gcc/rtems/cpukit/score/cpu/arm/'`cpu.c
{standard input}: Assembler messages:
{standard input}:187: Error: selected processor does not support ARM opcodes
{standard input}:188: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `mrs r3,cpsr'
{standard input}:189: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `bic r3,#(1<<7)'
{standard input}:190: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `orr r3,r0'
{standard input}:191: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `msr cpsr,r3'
{standard input}:192: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `add r3,pc,#1'
{standard input}:193: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `bx r3'
{standard input}:218: Error: selected processor does not support ARM opcodes
{standard input}:219: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `mrs r0,cpsr'
{standard input}:220: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `and r0,#(1<<7)'
{standard input}:221: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `add r3,pc,#1'
{standard input}:222: Error: attempt to use an ARM instruction on a Thumb-only
processor -- `bx r3'


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-08 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 16:48 [Bug target/64542] New: ARM use of ARM instruction on Thumb-only target joel at gcc dot gnu.org
2015-01-08 16:53 ` [Bug target/64542] " joel at gcc dot gnu.org
2015-01-08 16:54 ` joel at gcc dot gnu.org
2015-01-08 17:03 ` rearnsha at gcc dot gnu.org
2015-01-08 17:11 ` rearnsha at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).