This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/46285] ICE: in final_scan_insn, at final.c:2642 with -mavx -fsplit-stack


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]