[Bug target/30271] -mstrict-align can cause bad code generation for struct agrument passing
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 24 02:14:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-24 02:14 -------
This is improved by
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00573.html
But for:
struct a
{
int t, t1;
};
int f(struct a b)
{
return b.t + b.t1;
}
We still get a store/load.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30271
More information about the Gcc-bugs
mailing list