This is the mail archive of the ecos-patches@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 1001344] Allow nc_test_slave for lwIP to compile for targets with 128KiB RAM.


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

--- Comment #27 from Jonathan Larmour <jifl@ecoscentric.com> 2012-05-17 18:45:11 BST ---
(In reply to comment #26)
> 
> CYGBLD_ATTRIB_UNUSED, contrary to what it's name implies, will keep the
> variable. Ref: Bug 1001520

Oh yes, I'd already forgotten that conversation. The GCC documentation is still
unclear on that point. In that case, we needed a memory access to a particular
location. That happened courtesy of derefencing a volatile pointer set to an
absolute address.

I think this case might be a little different though as the volatile variable
has entirely local scope. No manufactured addresses are involved that could (in
principle) be affected by other agents.

I wonder if you can use both USED and UNUSED at the same time. Given their
intended functions, you should be able to, despite the English meanings
implying they are in some way opposites to each other. That would deal with the
uncertainty.

Jifl

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


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