[RTEMS Project] #2231: arm cpu.c selects non-thumb code for Thumb only build
RTEMS trac
trac at rtems.org
Thu Jan 8 18:17:29 UTC 2015
#2231: arm cpu.c selects non-thumb code for Thumb only build
---------------------------+-----------------------------
Reporter: joel.sherrill | Owner: sebastian.huber
Type: defect | Status: new
Priority: normal | Milestone: 4.11
Component: General | Version: 4.11
Severity: normal | Keywords:
---------------------------+-----------------------------
Reported initially as gcc PR64542
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64542) but rather clearly a
problem in the selection of the inline assembly. The GCC PR has an
attachment which is after the incorrect inline asm is selected.
arm-rtems4.11-gcc -mthumb -march=armv6-m -c -O0 /tmp/arm-thumb-pr64542.c
It looks like the wrong code in arm_interrupt_disable (and likely enable)
is selected.
RTEMS was configured as:
/users/joel/test-gcc/rtems/configure --target=arm-rtems4.11 --enable-
multilib --enable-ada --enable-posix --enable-networking --enable-
maintainer-mode --disable-tests --prefix=/users/joel/test-
gcc/install-4.9-branch
--
Ticket URL: <http://devel.rtems.org/ticket/2231>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list