This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001154] HAL_DISABLE_INTERRUPTS miscompile on Cortex-M3


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001154

John Dallaway <john@dallaway.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john@dallaway.org.uk

--- Comment #2 from John Dallaway <john@dallaway.org.uk> 2011-02-16 15:09:42 GMT ---
Stano, thank you for the bug report.

(In reply to comment #0)

> Either
>        :  "I" (CYGNUM_HAL_CORTEXM_PRIORITY_MAX)\
> or
>         : "=&r" (__old)                          \
> fix the problem.

Marking the operand as an earlyclobber operand using "=&r" seems to be the most
elegant solution in that it documents the original issue.

Any other comments?

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]