[Patch, Committed] Re: New GNU Fortran reviewers.

2008-12-03 Thread Daniel Kraft

Toon Moene wrote:

All,

During the IRC meeting of GNU Fortran hackers last Friday, I was asked 
to propose the following contributors to the Fortran compiler and run 
time library for the position of "reviewer" to the Steering Committee:


Daniel Kraft
Janus Weil
Mikael Morin


Thanks Toon,

I hope we can all help gfortran with our new status!  And I hope we can 
get well into reviewing soon :)


I've taken the freedom to move myself as well as Mikael to the reviewer 
section (Janus was already moved) and committed the attached patch to 
MAINTAINERS.


Cheers,
Daniel

--
Done:  Arc-Bar-Cav-Rog-Sam-Val-Wiz
To go: Hea-Kni-Mon-Pri-Ran-Tou
Index: MAINTAINERS
===
--- MAINTAINERS (revision 142407)
+++ MAINTAINERS (revision 142408)
@@ -248,7 +248,9 @@ Fortran Tobias Burnus   [EMAIL 
PROTECTED]
 FortranJerry DeLisle   [EMAIL PROTECTED]
 FortranErik Edelmann   [EMAIL PROTECTED]
 FortranThomas König[EMAIL PROTECTED]
+Fortran        Daniel Kraft[EMAIL PROTECTED]
 FortranToon Moene  [EMAIL PROTECTED]
+FortranMikael Morin[EMAIL PROTECTED]
 FortranBrooks Moses[EMAIL PROTECTED]
 FortranTobias Schlüter [EMAIL PROTECTED]
 FortranPaul Thomas [EMAIL PROTECTED]
@@ -358,7 +360,6 @@ Jeff Knaggs [EMAIL 
PROTECTED]
 Michael Koch   [EMAIL PROTECTED]
 Dave Korn  [EMAIL PROTECTED]
 Matt Kraai [EMAIL PROTECTED]
-Daniel Kraft   [EMAIL PROTECTED]
 Maxim Kuvyrkov [EMAIL PROTECTED]
 Doug Kwan  [EMAIL PROTECTED]
 Scott Robert Ladd  [EMAIL PROTECTED]
@@ -394,7 +395,6 @@ Lee Millward[EMAIL 
PROTECTED]
 Alan Modra [EMAIL PROTECTED]
 Alexander Monakov  [EMAIL PROTECTED]
 Catherine Moore[EMAIL PROTECTED]
-Mikael Morin   [EMAIL PROTECTED]
 James A. Morrison  [EMAIL PROTECTED]
 Dirk Mueller   [EMAIL PROTECTED]
 Adam Nemet [EMAIL PROTECTED]


Re: Ideas for Google Summer of Code

2009-03-29 Thread Daniel Kraft

Hi,

phil++ wrote:

I am a PhD student who has been working with CUDA for the GPU and also
gcc for Cell BE for about a year now. (By work I mean developing
applications).  I am looking to bring GCC closer to being able to
support OpenCL as a Google Summer of Code.  Here are some of my ideas:

1. Make an NVIDIA GPU backend
2. Make the OpenCL runtime for the Cell Processor
3. Make the OpenCL runtime for a homogeneous processor


I'm no mentor and thus don't take my comment too seriously, but I've 
started to work with CUDA recently (and may be doing so for my 
Bachelor's thesis) and would *love* to see some gcc support in this 
direction!


Regarding your points, I tend to favour point 1.  Thinking about it, 
when adding support for Co-Arrays to the Fortran front-end, maybe we 
could allow NVIDIA cards as backend for Co-Array'ed programs?  In 
general, it could be interesting to allow, for instance, writing kernels 
in Fortran, so existing code could be reused (or for the ones that like 
Fortran :D).  Maybe some basic support for that could be achieved, too? 
 (That is, gcc compiled kernels in some way.)


Yours,
Daniel



Re: [Ada] GCC Ada bootstrap suggestion

2008-07-31 Thread Daniel Kraft

Arnaud Charlet wrote:
For half a year now, I've been working on the GCC Fortran front-end; but 
I'm also quite interested in Ada as a language.  However, I don't quite 
like the idea that one needs a working Ada compiler to bootstrap the Ada 
front-end.  Well, it's the same with a C compiler to bootstrap GCC, but 
anyways :D


Also, at some point GCC will require C++ to bootstrap, so the same issues
will arise there.


Well, the point is, I'm using a GNU/Linux system I mainly built from 
scratch, so there's no easy package-installer available for me and I've 
to built everything from source (which is, of course, "my own fault"). 
My system started out with a gcc C compiler, so I could easily bootstrap 
and install any newer GCC, including C++, Java or Fortran, as I wanted.


And even if gcc eventually moves on to C++, there will still be an older 
gcc I could bootstrap with a C compiler only and use that version's C++ 
compiler for the newest release.


With Ada, however, I'm at least not aware of another compiler I could 
bootstrap using my C compiler and use that one subsequentally to 
bootstrap GNAT.  At the moment, I'm trying to bootstrap it using a 
binary GNAT 3.15p which was also somewhat hard to find on the net; and 
this does not quite work out at the moment, as the included gcc (2.8.1 
IIRC) is far too old and buggy to build even gcc-3.1 with Ada support 
for bootstrapping the gcc-4.3 release.  At least I don't quite find it 
an easy task to get a recent GNAT build from source...


I had the idea, based upon how gfortran works, that one could implement 
some basic AST-to-C translation component (it would be quite easy for the 
Fortran AST) that could then be used as a very basic Ada-to-C compiler 
re-using most of the existing Ada compiler.  With this new tool, one could 
compile the Ada front-end sources to C files.


Sure, this could theoretically be done, but so far, there has not been much
interest in doing that, given that cross compiling GCC is always available
as an option.


So you think I should boot into Microsoft Windows, install the cygwin 
GNAT binaries and use those to cross-compile gcc-4.3 for my GNU/Linux 
system?  Or at least boot up a live-cd that has the option to use a 
package installer for an existing GNAT and compile GCC with that?  At 
least to me this sounds somewhat disgusting.


I believe it would be at least some nice idea to make some 
binary-distributions easily available (and in a place they can be found).


If I give my idea some further thoughts (and finally manage to build 
GNAT on my system) and it seems to be quite easily doable, are you 
interested in results of my research and experiments?


Cheers,
Daniel

--
Done: Arc-Bar-Sam-Val-Wiz, Dwa-Elf-Gno-Hum-Orc, Law-Neu-Cha, Fem-Mal
Underway: Cav-Dwa-Law-Fem
To go:Cav-Hea-Kni-Mon-Pri-Ran-Rog-Tou