https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093

--- Comment #49 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #48)
> (In reply to Florian Weimer from comment #47)
> > (In reply to Bernd Edlinger from comment #43)
> > > does anybody know what is the Ada and/or D syntax for that?
> > 
> > Syntax for what?
> 
> I mean the Ada and D equivalent of
> #pragma GCC target ("general-regs-only")
> and/or
> __attribute__((target("general-regs-only")))

I don't think the target pragma/attribute is supported in Ada.

   pragma Machine_Attribute (Subprogram, "target", "general-regs-only");

appears to be ignored (even if I use a string which would be accepted by the
C/C++ pragma for that target, and not "general-regs-only".  But it's been years
since I did much Ada programming.

Reply via email to