Summary: Integer operations promote too much
--- Comment #0 from eatingstap...@gmail.com 2011-01-05 18:17:38 PST ---
Created an attachment (id=861)
Code with integer promotion
When summing two shorts, they should not be both promoted to int, especially
since this reduces the ability to pack things in registers.
I've attached code which demonstrates summing two shorts as they are both
promoted to int. The code will not build, with an error explaining that both
parameters have been promoted, leading to the expression being of type int
rather than short.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------