Re: Duplicate constraints in ipa-pta

2015-10-28 Thread Tom de Vries
On 28/10/15 12:10, Richard Biener wrote: On Wed, 28 Oct 2015, Tom de Vries wrote: Richard, when compiling this testcase: ... static int __attribute__((noinline, noclone)) foo (int *a, int *b) { *b = 1; *a = 2; return *b; } int __attribute__((noinline, noclone)) bar (int *a, int *b) {

Re: Duplicate constraints in ipa-pta

2015-10-28 Thread Richard Biener
On Wed, 28 Oct 2015, Tom de Vries wrote: > Richard, > > when compiling this testcase: > ... > static int __attribute__((noinline, noclone)) > foo (int *a, int *b) > { > *b = 1; > *a = 2; > return *b; > } > > int __attribute__((noinline, noclone)) > bar (int *a, int *b) > { > return foo (

Duplicate constraints in ipa-pta

2015-10-28 Thread Tom de Vries
Richard, when compiling this testcase: ... static int __attribute__((noinline, noclone)) foo (int *a, int *b) { *b = 1; *a = 2; return *b; } int __attribute__((noinline, noclone)) bar (int *a, int *b) { return foo (a, b); } ... with -O2 -fipa-pta we find in the pta dumpfile: ... Generat