[Bug rtl-optimization/42592] really bad register allocation for x86

2010-01-03 Thread andi-gcc at firstfloor dot org
--- Comment #2 from andi-gcc at firstfloor dot org 2010-01-03 15:40 --- An obvious improvement would be to use the non callee clobbered registers as temporal storage, instead of putting into registers that just get spilled again. I think one of the other compilers in the comparison did t

[Bug rtl-optimization/42592] really bad register allocation for x86

2010-01-03 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-03 11:27 --- Confirmed. Well, GCC produces exactly the same code as ICC when using -O2 -mno-accumulate-outgoing-args -fno-optimize-sibling-calls -fomit-frame-pointer Thus the sibcall comes in the way as obviously does -maccumul