This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: always_inline attribute


>>>>> "Aldy" == Aldy Hernandez <aldyh@redhat.com> writes:

> +   if (optimize == 0
> +       && lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn)) == NULL)
> +     return 1;

Woops, looks like my earlier mail came too late.  Please conditionalize
this stuff on a flag other than optimize, so that -O1 -fno-inline still
works.  You'll probably have to add Yet Another inlining flag.  While
you're at it, you might as well make -O0 -finline work.

Thanks,
Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]