This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15484] [tree-ssa] bool and short function arguments promoted to int
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2004 13:33:09 -0000
- Subject: [Bug tree-optimization/15484] [tree-ssa] bool and short function arguments promoted to int
- References: <20040517043308.15484.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nathan at gcc dot gnu dot org 2004-11-17 13:33 -------
The underlying ABI might require short & bool arguments to be passed as int.
Some do, some don't. Anyway, that's an argument marshalling issue, which is not
currently addressed at the tree level.
The cast to int has been inserted by the front end, I think C requires that.
This is a VRP issue, not an argument marshalling one.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |18373
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15484