This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/33796] valgrind error with -O2 for linux kernel code



------- Comment #13 from dcb314 at hotmail dot com  2008-01-12 22:17 -------
(In reply to comment #9)
> i personally think that this patch in #8 is not the right way to go.
> unless there is a compelling argument that initializing this is going to have
> some negative performance effect, we should properly initialize this
> datastructure as we do (or at least try to do) for every other data structure
> in the compiler.  While the current code that peter has written is correct, it
> is quite tricky.  This compiler has way too much tricky code, which only adds
> to the long term maintainance cost of the compiler.

Well said Sir.

If the tricky code bought a 10% speedup, I'd advocate it.

No one seems to have measured and documented how much it really saves.
Unmeasured claims really don't count.

Machines double in performance every few years, hence the
prudent engineer codes in the default case for clarity, 
not performance.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33796


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