This is the mail archive of the
mailing list for the GCC project.
Re: Merging gdc (GNU D Compiler) into gcc
On 04/10/11 21:36, Andrew Pinski wrote:
On Tue, Oct 4, 2011 at 12:30 PM, Iain Buclaw<email@example.com> wrote:
These patches address two areas of the D language:
1) D calling convention.
2) Naked functions on i386 and x86_64
Some work would need to be done on naked functions at least first so
that changes required are only to gcc/config. I would be grateful if I
could get pointed in the right direction for implementing naked as a
function attribute for i386 so all frontends could benefit.
Does D really require a new calling convention? Also does it really
require naked support? I think naked support is a bad idea and people
who require naked support should be writing an assembly function
"naked" functions are often useful in embedded systems, and are
therefore useful (and implemented) on many gcc targets. It would make
sense to have the attribute available universally in gcc, if that
doesn't involve a lot of extra work, even though it is of little use on
"big" systems (Linux, Windows, etc.).