This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386]: FIX PR50875, -O3 and -mavx lead to internal compiler error in find_reloads
On Thu, Oct 27, 2011 at 6:45 PM, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> On Thu, Oct 27, 2011 at 06:06:09PM +0200, Uros Bizjak wrote:
>>
>> I would kindly ask someone fluent in fortran to construct a
>> compile-time testcase from the PR [1], that will correctly exercise
>> the fix on x86 with "-O3 -mavx" options and immortalize the testcase
>> in gfortran testsuite.
>>
>
> How's the attached? ?I don't know if the target part of
> the dg-options is required.
Great!
Regarding the dg-options, I believe that tests that fail only on
certain target (i.e. pr48757.f) define dg directives as:
! { dg-do compile { target { i?86-*-* x86_64-*-* } }
! { dg-options "-O3 -mavx" }
This way, we won't annoy other innocent targets ;)
I will change your test accordingly and commit everything to SVN.
Thanks,
Uros.