This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Target-specific pragmas


>   I really don't want to see us try to do this.  It is complex, and the 
>   semantics are highly non-obvious.  What if you inline a writable-string 
>   function into one that isn't? 
> 
> The compiler must not do that.
> 
>   What if you inline a function optimized for speed into one optimized 
>   for space? 
> 
> The compiler should not do that.

I think it would be OK if it either tagged the strings from the inlined
function as writable, or made all strings in the larger function writable
(although the latter would be a poorer implementation).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]