From: SourceForge.net <no...@so...> - 2011-03-27 20:33:22
|
Bugs item #3073647, was opened at 2010-09-22 23:06 Message generated for change (Comment added) made by spth You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3073647&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: 7 Private: No Submitted By: Philipp Klaus Krause (spth) Assigned to: Nobody/Anonymous (nobody) Summary: Initializers for objects that have static storage duration Initial Comment: The C99 standard, verse 1644: "All the expressions in an initializer for an object that has static storage duration shall be constant expressions or string literals." sdcc currently silently allows other initializers. It doesn't even give a warning. sdcc should not allow these other initializers. This bug prevents optimizations, such as RFE #3034739. Philipp ---------------------------------------------------------------------- >Comment By: Philipp Klaus Krause (spth) Date: 2011-03-27 22:33 Message: Increasing priority, since other tracker items are blocked on this. Philipp ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=3073647&group_id=599 |