This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42588] unnecessary move through x87 stack/local frame for union
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2010 06:49:19 -0000
- Subject: [Bug middle-end/42588] unnecessary move through x87 stack/local frame for union
- References: <bug-42588-7834@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2010-01-03 06:49 -------
Here is an example which shows the issue on PPC also:
union __anonunion___u_19
{
double __d;
int __i[2];
};
extern int __signbit (double *__x)
{
union __anonunion___u_19 __u;
{
__u.__d = *__x;
return (__u.__i[1] < 0);
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42588