This is the mail archive of the gcc-bugs@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]

[Bug objc/24777] New: objc needs to use normal builtins for functions it declares


Couple of the FIXME's in c-decl.c:
          /* A conflicting function declaration for a predeclared
             function that isn't actually built in.  Objective C uses
             these.  The new declaration silently overrides everything
             but the volatility (i.e. noreturn) indication.  See also
             below.  FIXME: Make Objective C use normal builtins.  */

          /* Two exceptions to the rule.  If olddecl is an extern
             inline, or a predeclared function that isn't actually
             built in, newdecl silently overrides olddecl.  The latter
             occur only in Objective C; see also above.  (FIXME: Make
             Objective C use normal builtins.)  */

      /* FIXME: Objective-C has weird not-really-builtin functions
         which are supposed to be visible automatically.  They wind up
         in the external scope because they're pushed before the file
         scope gets created.  Catch this here and rebind them into the
         file scope.  */


-- 
           Summary: objc needs to use normal builtins for functions it
                    declares
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: FIXME
          Severity: normal
          Priority: P3
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24777


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