This is the mail archive of the gcc-patches@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]

Re: [PATCH] Add missing testcase for PR44676.


On Tue, Dec 7, 2010 at 11:01, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Dec 7, 2010 at 8:21 AM, Sebastian Pop <sebpop@gmail.com> wrote:
>> 2010-12-07 ?Sebastian Pop ?<sebastian.pop@amd.com>
>>
>> ? ? ? ?PR tree-optimization/44676
>> ? ? ? ?* gcc.dg/graphite/id-pr44676.c: New.
>> ---
>> ?gcc/testsuite/ChangeLog ? ? ? ? ? ? ? ? ? ?| ? ?7 ++++++-
>> ?gcc/testsuite/gcc.dg/graphite/id-pr44676.c | ? 10 ++++++++++
>> ?2 files changed, 16 insertions(+), 1 deletions(-)
>> ?create mode 100644 gcc/testsuite/gcc.dg/graphite/id-pr44676.c
>>
>> diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
>> index 520be3f..96275ed 100644
>> --- a/gcc/testsuite/ChangeLog
>> +++ b/gcc/testsuite/ChangeLog
>> @@ -1,4 +1,9 @@
>> -2010-12-06 ?Sebastian Pop ?<sebastian.pop@amd.com>
>> +2010-12-07 ?Sebastian Pop ?<sebastian.pop@amd.com>
>> +
>> + ? ? ? PR tree-optimization/44676
>> + ? ? ? * gcc.dg/graphite/id-pr44676.c: New.
>> +
>> +2010-12-07 ?Sebastian Pop ?<sebastian.pop@amd.com>
>>
>> ? ? ? ?PR tree-optimization/42327
>> ? ? ? ?* gcc.dg/tree-ssa/pr42327.c: New.
>> diff --git a/gcc/testsuite/gcc.dg/graphite/id-pr44676.c b/gcc/testsuite/gcc.dg/graphite/id-pr44676.c
>> new file mode 100644
>> index 0000000..03cdeac
>> --- /dev/null
>> +++ b/gcc/testsuite/gcc.dg/graphite/id-pr44676.c
>> @@ -0,0 +1,10 @@
>> +int
>> +extend_options (int h, int map, int x, int y, int dx)
>> +{
>> + ?while (dx--)
>> + ? ?{
>> + ? ? ?if (x != dx && y != -x)
>> + ? ? ? map++;
>> + ? ?}
>> + ?return map;
>> +}
>> --
>> 1.7.1
>>
>
> Testcase failed with -O2 -fgraphite-identity -fprofile-generate.
> Does the new testcase use -fprofile-generate?

Yes, sorry I posted an old version of the patch without the dg-option:
/* { dg-options "-O2 -fgraphite-identity -fprofile-generate" } */

Sebastian


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