Re: [PATCH] Make SRA produce integer replacements for enumeration types

2011-09-07 Thread Martin Jambor
Hi, On Wed, Sep 07, 2011 at 10:08:29AM +0200, Richard Guenther wrote: > On Tue, 6 Sep 2011, Martin Jambor wrote: > > the patch below makes SRA produce intere type replacements when it > > currently produces enumeration type ones because this then may cause > > VRP to assume wrong bounds (PR 49911)

Re: [PATCH] Make SRA produce integer replacements for enumeration types

2011-09-07 Thread Richard Guenther
On Tue, 6 Sep 2011, Martin Jambor wrote: > Hi, > > the patch below makes SRA produce intere type replacements when it > currently produces enumeration type ones because this then may cause > VRP to assume wrong bounds (PR 49911). > > I do not know how to create a testcase for the PR this should

[PATCH] Make SRA produce integer replacements for enumeration types

2011-09-06 Thread Martin Jambor
Hi, the patch below makes SRA produce intere type replacements when it currently produces enumeration type ones because this then may cause VRP to assume wrong bounds (PR 49911). I do not know how to create a testcase for the PR this should solve because I could not reproduce it on yesterday's tr