On 1/15/19 4:49 PM, Richard Biener wrote:
> On Tue, Jan 15, 2019 at 4:43 PM Frank Tetzel
> wrote:
>>
why is the ICF pass in gcc not folding member functions which
depend on a template parameter but happen to generate identical
code? Is it because it is not identical on the IR level
On Tue, Jan 15, 2019 at 4:43 PM Frank Tetzel
wrote:
>
> > > why is the ICF pass in gcc not folding member functions which
> > > depend on a template parameter but happen to generate identical
> > > code? Is it because it is not identical on the IR level in the
> > > compiler? Can I somehow dump th
> > why is the ICF pass in gcc not folding member functions which
> > depend on a template parameter but happen to generate identical
> > code? Is it because it is not identical on the IR level in the
> > compiler? Can I somehow dump the IR in text form?
>
> You can look at the ICF dump generate
On Tue, Jan 15, 2019 at 2:18 PM Frank Tetzel
wrote:
>
> Hi,
>
> why is the ICF pass in gcc not folding member functions which depend on
> a template parameter but happen to generate identical code?
> Is it because it is not identical on the IR level in the compiler?
> Can I somehow dump the IR in