This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37316] [4.4 Regression] Small structs are not passed correctly on hppa64-*-*
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2008 09:53:35 -0000
- Subject: [Bug middle-end/37316] [4.4 Regression] Small structs are not passed correctly on hppa64-*-*
- References: <bug-37316-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #22 from ebotcazou at gcc dot gnu dot org 2008-10-27 09:53 -------
[Sorry about the delay]
> I think either data->passed_type being passed always, or what I've posted,
> should be correct. emit_group_store is run on the hard register(s) in which it
> is passed, so using data->nominal_type would be unexpected.
Yes, I think your final patch (always passing data->passed_type) makes sense as
it's the simplest and most consistent approach.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-10-27 09:53:35
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37316