This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23868] [4.9/5/6 regression] builtin_apply uses wrong mode for multi-hard-register return values
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 Mar 2016 13:03:53 +0000
- Subject: [Bug middle-end/23868] [4.9/5/6 regression] builtin_apply uses wrong mode for multi-hard-register return values
- Auto-submitted: auto-generated
- References: <bug-23868-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23868
--- Comment #28 from Oleg Endo <olegendo at gcc dot gnu.org> ---
I've just briefly checked gcc/testsuite/gcc.dg/builtin-apply4.c on sh-elf after
removing the following conditions:
Index: gcc/testsuite/gcc.dg/builtin-apply4.c
===================================================================
--- gcc/testsuite/gcc.dg/builtin-apply4.c (revision 234013)
+++ gcc/testsuite/gcc.dg/builtin-apply4.c (working copy)
@@ -1,8 +1,6 @@
/* PR tree-optimization/20076 */
/* { dg-options "-O2 -Wmissing-noreturn -fgnu89-inline" } */
-/* { dg-additional-options "-mno-mmx" { target { { i?86-*-* x86_64-*-* } &&
ia32 } } } */
/* { dg-do run } */
-/* { dg-require-effective-target untyped_assembly } */
extern void abort (void);
It seems the test passes on sh-elf.
Can anybody comment on the state of this problem here? Were the two commits in
comment #2 and comment #3 merged into mainline at some point?