On Mon, May 18, 2020 at 01:03:40PM +0200, Jakub Jelinek wrote: > > The optimize attribute is used to specify that a function is to be compiled > > with different optimization options than specified on the command line. > > ``` > > > > It's pretty clear about the command line arguments (that are ignored). > > That is not clear at all. The difference is primarily in what the option > string says in there.
And if we decide we want to keep existing behavior (haven't checked if we actually behave that way yet), we should add some syntax that will allow ammending command line options rather than replacing it. Could be say start the optimize attribute string with + or something similar. Does target attribute behave that way too? Jakub