This is the mail archive of the gcc-help@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: How does the gcc -g option affect performance?


>Normally I expect my code to run about an order of magnitude slower with -g.

Running inside a debugger, or unfettered (sans debugger)?

In a debugger -- sure.

Withpout a debugger -- that's not my experience with GCC and -g -O2.

--Eljay


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