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)
{
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 (
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