public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "Fenyvesi Tamás" <tom@mobiline.hu> To: <gcc-bugs@gcc.gnu.org> Subject: asking new feature Date: Wed, 22 Oct 2008 09:35:00 -0000 [thread overview] Message-ID: <7C6936023BFEEE40BB5FD1AAF287DA614A2ADF@mobilineserver.MOBILINE.local> (raw) Hi, I'm trying to ask a new feature for gcc rater than reporting bugs now... Missing this feature is more pressing on flash type microcontroller platforms like (more and more types of) low pin count ARM core (ARM7, Cortex-M3), Atmel/AVR and similars. However, more or less all the embedded area is involved. It's known it's suboptimal to duplicate string constants at RAM for runtime. The main reason for my using iccavr rather than avrgcc is the ugly form of "sprintf(buf,PSTR("StringInProgramstore"));" instead of regular "sprintf(buf,"StringInProgramstore"));". It would be very easy to remove this drawback by having some command line switch (tickbox on GUI's) arranging the default storage for string constants. Tick box name can be e.g. "strings remain in program store" or "strings in program store only". This problem belongs to Harward/Neumann architecture difference rather than using nonvolatile memories so it might be benefical for any non-flash type (but still Harward) processors like DSP's, OMAP, etc. as well. What about including this feature in mainline gcc? Best regards, Tamas
reply other threads:[~2008-10-22 9:35 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=7C6936023BFEEE40BB5FD1AAF287DA614A2ADF@mobilineserver.MOBILINE.local \ --to=tom@mobiline.hu \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).