This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Cgraph alias reorg 13/14 (disable inlining functions called once at -O0


On Fri, Jun 10, 2011 at 9:15 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> On Fri, Jun 10, 2011 at 8:42 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
>> > Hi,
>> > by some mistake we enable functions called once at -O0 and it actually happens from
>> > time to time.
>>
>> Why do it for -O1? ?It definitely makes debugging less reliable. ?I'd say do it
>> for -O[23s] only.
>
> Well, that is what we did before. ?I tought -O1 is mostly for optimizations
> that are not too expensive and usually win (rahter than about debugability of
> the output) and I think this one counts here. ?But I don't have very strong
> optinions either way.

I think we also suggested at some point that -O1 optimizations
shouldn't interfere
with debugging too much.  But if it is what we did before it's certainly fine.

Richard.

> Honza
>


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