This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20020] x86_64 - 128 bit structs not targeted to TImode
- From: "gary at intrepid dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Aug 2012 23:55:57 +0000
- Subject: [Bug target/20020] x86_64 - 128 bit structs not targeted to TImode
- Auto-submitted: auto-generated
- References: <bug-20020-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20020
--- Comment #34 from Gary Funck <gary at intrepid dot com> 2012-08-14 23:55:57 UTC ---
(In reply to comment #33)
> We must make sure that
>
> ---
> union S160
> {
> long double a;
> };
> extern union S160 check160 (void);
> extern void checkx160 (union S160);
> void
> test160 (void)
> {
> checkx160 (check160 ());
> }
> ---
>
> compiles.
I agree. I looked into this briefly, but was unsure how to fix the issue.
What I can do is incorporate whatever fix is agreed upon into the patch, and
add this as an explicit test case. Even though it is slightly duplicative, it
will be clearer what's going on if a regression occurs later on.