From: SourceForge.net <no...@so...> - 2007-07-09 11:56:07
|
Bugs item #1750318, was opened at 2007-07-09 04:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1750318&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: deref of &placed_variable Initial Comment: SDCC : mcs51 2.7.2 # (Jun 28 2007) (UNIX) svn #4870 the following short piece of code produces an internal compiler error. -------------------------------------- xdata at 0x1234 char bar; void foo() { *(char volatile xdata *) &bar = 0x80; } --------------------------------------- without at, no error is generated without volatile, no error is generated with cast to *unsigned* char, no error is generated, but the resulting asm code doesnt do anything, (just "ret") the actual error message is Internal error: validateOpType failed in OP_SYMBOL(IC_RESULT (ic)) @ SDCCcse.c:2172: expected symbol, got value Robert Larice larice 0x40 vidisys 0x2e de ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1750318&group_id=599 |