This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46285] ICE: in final_scan_insn, at final.c:2642 with -mavx -fsplit-stack
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Nov 2010 02:32:42 +0000
- Subject: [Bug target/46285] ICE: in final_scan_insn, at final.c:2642 with -mavx -fsplit-stack
- Auto-submitted: auto-generated
- References: <bug-46285-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46285
--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-11-04 02:32:30 UTC ---
(In reply to comment #6)
> Please try this
>
> ----
> diff --git a/gcc/testsuite/gcc.target/i386/pr46285.c
> b/gcc/testsuite/gcc.target/i386/pr46285.c
> index 8b8cbcf..de705b0 100644
> --- a/gcc/testsuite/gcc.target/i386/pr46285.c
> +++ b/gcc/testsuite/gcc.target/i386/pr46285.c
> @@ -1,5 +1,6 @@
> /* { dg-do compile } */
> /* { dg-options "-mavx -fsplit-stack -mtune=generic" } */
> +/* { dg-require-effective-target split_stack } */
>
> typedef char __m256 __attribute__ ((__vector_size__ (32)));
> void foo (__m256 x) {}
> ---
This patch properly converts the failures to unsupported tests on
x86_64-apple-darwin10.