Re: [PATCH] Print function attributes in rtl dumps

2018-04-30 Thread Jeff Law
On 03/29/2018 04:23 AM, Tom de Vries wrote: > [ Fix ENOPATCH ] > > On 03/29/2018 12:17 PM, Tom de Vries wrote: >> Hi, >> >> when we compile a function with attributes: >> ... >> int __attribute__((noinline, noclone)) >> foo (void) >> { >>    return 2; >> } >> ... >> >> like this: >> ... >> gcc mai

Re: [PATCH] Print function attributes in rtl dumps

2018-03-29 Thread Tom de Vries
[ Fix ENOPATCH ] On 03/29/2018 12:17 PM, Tom de Vries wrote: Hi, when we compile a function with attributes: ... int __attribute__((noinline, noclone)) foo (void) {   return 2; } ... like this: ... gcc main.c -fdump-tree-all -fdump-rtl-all ... we find the function attributes starting from fo

[PATCH] Print function attributes in rtl dumps

2018-03-29 Thread Tom de Vries
Hi, when we compile a function with attributes: ... int __attribute__((noinline, noclone)) foo (void) { return 2; } ... like this: ... gcc main.c -fdump-tree-all -fdump-rtl-all ... we find the function attributes starting from foo.c.004t.gimple: ... __attribute__((noclone, noinline)) foo () {