[Bug middle-end/32680] unneeded movsbl

2007-07-09 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-07-09 09:50 --- It does: function2: .LFB3: callfunction1 movsbl %al,%eax ret because this is what the C ABI specifies. Now, the stack adjustments are indeed superfluous. And we fail to tailcall as we

[Bug middle-end/32680] unneeded movsbl

2007-07-08 Thread romikb at mail dot ru
--- Comment #2 from romikb at mail dot ru 2007-07-09 05:44 --- (In reply to comment #1) >> eax register allready contains char > not true Can you explain, please, why it is not true? Direct call of "function1" not produce "unneed movsb", so why indirect call produce it? -- http:/

[Bug middle-end/32680] unneeded movsbl

2007-07-08 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-08 20:29 --- > eax register allready contains char not true but oh well, it is called promting for abi reasons. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -