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 PR 43061: check DECL_PRESERVE_P in the midend


On Thu, Feb 18, 2010 at 11:28 PM, Mike Stump <mikestump@comcast.net> wrote:
> This fixes 245 failures in the objective-c testsuite for me. ?The
> interesting question is, should we also remove the || lookup_attribute
> ("used", DECL_ATTRIBUTES (decl) part? ?My first guess, would be no, other
> frontends might only set the attribute and not DECL_PRESERVE_P.

Why do front ends that handle attibute "used" not just set
DECL_PRESERVE_P? That would avoid the lookup_attribute calls.

Ciao!
Steven


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