This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/56263] [avr] Provide strict address-space checking
- From: "demiurg_spb at freemail dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 10 Feb 2013 12:24:49 +0000
- Subject: [Bug target/56263] [avr] Provide strict address-space checking
- Auto-submitted: auto-generated
- References: <bug-56263-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56263
--- Comment #1 from demiurg_spb at freemail dot ru 2013-02-10 12:24:49 UTC ---
I think the next test case should also be considered.
const char __flash* const __flash names[] =
{
"flash_str1",
"flash_str2"
};
const char __flash* name1 = names[0]; // ok
const char* name2 = names[1]; // error