https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91420

--- Comment #14 from Zdenek Sojka <zsojka at seznam dot cz> ---
(In reply to Alexandre Oliva from comment #12)
> Created attachment 62624 [details]
> candidate patch
> 
...
> 
> An alternative I'm considering is a parameter that could enable users to
> tell the compiler how conservative to be.  Would that be preferred?
> 

Thank you for having a look!

I don't know if I can give an opinion: the default behavior should work in most
cases; if one needs fine-tuning, there might be a way for that, but in the end
nobody might end up using it. I think people normally don't want to use
--param= in arch-specific compiler flags; they might not be even aware of such
fine-tuning.

The example I gave comes from a real-world code, in this case an assertion
check that the symbol is aligned (iirc).

Are there plans to backport this to the other branches?

Reply via email to