This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: O0 cleanup_cfg vs debuggability
James E Wilson wrote:
> > I'm not clear why a mere inhibition of the edge forwarding optimization in
> > non-optimizing compilations doesn't seem to be an option.
>
> Yes, I think that would be OK also.
> I was just trying to offer more alternatives, as you suggested that this
> change might be too drastic.
OK, just fine. Be sure that I did appreciate much you suggestions :)
> If programs suddenly start running slower at -O0, some people will
> notice and complain, but I doubt that we really have to worry about this
> unless there are very significant performance changes, and that seems
> rather unlikely.
I agree, and can certainly come up with a patch implementing the simple
alternative.
Would you like me to perform some special testing to verify the assumption
above beforehand ?
Thanks again for your help,
Olivier