From: John M. <ato...@gm...> - 2012-03-19 04:34:33
|
After looking at the Clang code some it looks like the address space __attribute__ *does* cause a type qualifier for the address space to be set. On Sun, Mar 18, 2012 at 1:47 PM, Anton Staaf <an...@so...> wrote: > On Sun, Mar 18, 2012 at 12:34 PM, John Myers <ato...@gm...> > wrote: > > I share Anton's concern about __flash not being a type qualifier. > > Will __flash behave as a type qualifier? > > int __flash * __flash c; > > If not and a __flash type qualifier had to be created then the constness > of > > the qualifier would be an inherent feature of the __flash type > qualifier. > > Yes, I think it's important that __flash be a qualifier. We can > probably decouple that requirement from whether or not __flash implies > constness. > > -Anton > |