strange comment in plugin.c

2009-06-18 Thread Basile STARYNKEVITCH
ent should cite the function doing the trick. Regards. PS. I hope that questions on code belong to gcc@, not gcc-patches@ - I am not discussing a patch or proposing one ... -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, r

Re: Should -Wjump-misses-init be in -Wall?

2009-06-19 Thread Basile STARYNKEVITCH
I understand of Ian's description fits nicely of a situation I would like to be warned. (as a general case, in C, I try hard to initialize all local variables). Ian, did this warning trigger a lot of new messages while bootstrapping gcc? Regards. -- Basile STARYNKEVITCH

plugins directory?

2009-06-22 Thread Basile STARYNKEVITCH
think we should reach a consesus quickly: the stage 1 is closing soon, and such a patch has to happen very soon! Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France ***

Re: plugins directory?

2009-06-22 Thread Basile STARYNKEVITCH
Richard Guenther wrote: On Mon, Jun 22, 2009 at 1:20 PM, Basile STARYNKEVITCH wrote: I would prefer some discussion to happen, instead of blindly proposing patches on gcc-patches@ and have them rejected until I find a consensus. Do you think that 1. We should not care about where system wide

Questions on exported plugin headers: minimal or full?

2009-06-30 Thread Basile STARYNKEVITCH
ing it is not a bug resolution). Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

gtyp-input.list should contain absolute paths.

2009-07-03 Thread Basile STARYNKEVITCH
tmp-gi.list gtyp-input.list $(STAMP) s-gtyp-input but it does not work. However, I am unfamiliar with GNU make user functions and cannot understand how write_entries_to_file work. Does anyone have a suggestion, or preferably a tiny patch? Regards. -- Basile STARYNKEVITCH

Re: gtyp-input.list should contain absolute paths.

2009-07-03 Thread Basile STARYNKEVITCH
Ralf Wildenhues wrote: Hello Basile, * Basile STARYNKEVITCH wrote on Fri, Jul 03, 2009 at 12:10:17PM CEST: It would be much easier for plugins if gtyp-input.list contained only absolute paths. In my case, (AMD64/Debian/Sid), it contains only two relative filepaths: auto-host.h & optio

Re: gtyp-input.list should contain absolute paths.

2009-07-04 Thread Basile STARYNKEVITCH
Ian Lance Taylor wrote: Basile STARYNKEVITCH writes: @: $(call write_entries_to_file,$(realpath $(GTFILES)),tmp-gi.list) $(SHELL) $(srcdir)/../move-if-change tmp-gi.list gtyp-input.list $(STAMP) s-gtyp-input In general, one should try to avoid changing a user specified

Re: gtyp-input.list should contain absolute paths.

2009-07-05 Thread Basile STARYNKEVITCH
Andreas Schwab wrote: Basile STARYNKEVITCH writes: In plugin mode (for the few plugins using PLUGIN_REGISTER_GGC_ROOTS), gengtype needs a file list. So a plugin build (in its own directory) would want to run (in Makefile syntax) $(GCCBUILD)/gcc/gengtype -p $(GCCSOURCE)/gcc

Re: gtyp-input.list should contain absolute paths.

2009-07-05 Thread Basile STARYNKEVITCH
Andreas Schwab wrote: Basile STARYNKEVITCH writes: Andreas Schwab wrote: Perhaps gengtype should be modified to always treat the files in gtyp-input.list relative to location of that file. I probably misunderstood your sentence. I parsed "that file" as referring t

preprocessors & GCC plugins

2009-07-06 Thread Basile STARYNKEVITCH
preprocessor. Currently, there is no plugin specific code inside libcpp/ Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les

gengtype in plugin mode should be enhanced

2009-07-08 Thread Basile STARYNKEVITCH
So I am retracting the proposed http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00275.html patch and preparing something better. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine,

libiberty should be a shared library when cc1 has plugin enabled.

2009-07-09 Thread Basile Starynkevitch
ll of libliberty.so * the Makefile.in files should be changed. Comments are welcome. Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines,

Re: libiberty should be a shared library when cc1 has plugin enabled.

2009-07-09 Thread Basile STARYNKEVITCH
e did link dynamically libiberty.so: We would also have to install it, .. Agreed. Anyway, we really should have all of libiberty inside cc1. What is the best way to achieve that so that it works on all the systems GCC wants? Regards. -- Basile STARYNKEVITCH http://starynkevitch.

Re: libiberty should be a shared library when cc1 has plugin enabled.

2009-07-09 Thread Basile STARYNKEVITCH
Dave Korn wrote: Basile STARYNKEVITCH wrote: Dave Korn wrote: We might also artificially add a reference to each libiberty function from cc1. Or link it into cc1 et al. using "--whole-archive". Sorry, I am not aware of this option. And are we sur

Re: libiberty should be a shared library when cc1 has plugin enabled.

2009-07-09 Thread Basile STARYNKEVITCH
Daniel Jacobowitz wrote: On Thu, Jul 09, 2009 at 10:49:49AM +0200, Basile Starynkevitch wrote: But it seems to me that a plugin can call a libliberty function only if that function is already referenced (e.g. called) from cc1. This is not the case of all libiberty functions. So

Re: libiberty should be a shared library when cc1 has plugin enabled.

2009-07-09 Thread Basile STARYNKEVITCH
Daniel Jacobowitz wrote: On Thu, Jul 09, 2009 at 03:01:01PM +0200, Basile STARYNKEVITCH wrote: In simpler words, *.so have to be compiled with -fPIC, and libiberty is not compiled with -fPIC. We build a PIC libiberty already. Thanks! Where and how is it built? I cannot find any

Re: libiberty should be a shared library when cc1 has plugin enabled.

2009-07-09 Thread Basile STARYNKEVITCH
Daniel Jacobowitz wrote: On Thu, Jul 09, 2009 at 03:45:52PM +0200, Basile STARYNKEVITCH wrote: Daniel Jacobowitz wrote: On Thu, Jul 09, 2009 at 03:01:01PM +0200, Basile STARYNKEVITCH wrote: In simpler words, *.so have to be compiled with -fPIC, and libiberty is not compiled

Re: libiberty should be a shared library when cc1 has plugin enabled.

2009-07-09 Thread Basile STARYNKEVITCH
patches/2009-07/msg00497.html will be reviewed & accepted. It is essential (& tiny). -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

plugins & PCH

2009-07-09 Thread Basile STARYNKEVITCH
when it was generated. We also need a "dynamic tag" support which I only sketched in the discussion of http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00507.html Of course, this does not affect the read of precompiled headers. Comments are welcome. Regards. -- Basile STARYNKEVITC

Re: Building GCC & CFLAGS settings

2010-05-05 Thread Basile Starynkevitch
ts distro). Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

role of "register" C keyword?

2010-05-06 Thread Basile Starynkevitch
cs/gcc/Optimize-Options.html BTW, I might have read somewhere than in future C & C++ standards the register keyword might change its meaning or be obsolete... Am I dreaming, or is there some evolution to expect? Comments are welcome. Regards. -- Basile STARYNKEVITCH http://starynkevitch

generating MELT documentation from MELT sources.

2010-05-07 Thread Basile Starynkevitch
contribute to improve the documentation generator, or improve the documentation itself (notably by improving the :doc fields inside MELT source). Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: C/C++ AST

2010-05-11 Thread Basile Starynkevitch
ranslator or even better ask me (on the gcc@ mailing list). Alternatively, you could code your specific pass in plain C in an ordinary plugin. If you use MELT or if you code a plugin in C, you need to learn more about GCC internal representations (notably GIMPLE & Tree/Generic) an

Re: data type 'struct loop' in MELT

2010-05-14 Thread Basile Starynkevitch
arbitary MELT values. Thanks for your interest in MELT. Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: Design Considerations of GIMPLE Front End

2010-05-18 Thread Basile Starynkevitch
On Tue, 2010-05-18 at 15:59 +0200, Michael Matz wrote: > Hi, > > On Tue, 18 May 2010, Diego Novillo wrote: > > > On Mon, May 17, 2010 at 16:15, Sandeep Soni wrote: > > > > > 1. What should be the format of representation of the GIMPLE tuples in > > >text? > > > > I liked Andrew's suggesti

Re: Updating multilib support after a compiler is built

2010-05-18 Thread Basile Starynkevitch
a matter of choosing the target system, and you certainly cannot use a compiled GCC for a target which you did not configure the compiler for. But perhaps I might be completely wrong (however, x86 & x86-64 are quite different beasts). Cheers. -- Basile STARYNKEVITCH http://starynkev

Re: Proposal: remove the Obj-C++ front end

2010-05-20 Thread Basile Starynkevitch
ould ease the work of those working on non-mainstream frontends (like for the D language, or an hypothetical Oz, etc...). Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France **

Re: Melt-building problem

2010-05-25 Thread Basile Starynkevitch
ething is still wrong. A dirty workaround might be to replace every -gtoggle occurrence in the build tree gcc/Makefile with -g. I will try to reproduce that bug! Thanks for reporting it. BTW, I am surprised that GCC (even a plain 4.4 or 4.5) issues an error for an unrecognised debug output lev

Re: Melt-building problem

2010-05-25 Thread Basile Starynkevitch
On Tue, 2010-05-25 at 16:20 +0200, Basile Starynkevitch wrote: > > A dirty workaround might be to replace every -gtoggle occurrence in the > build tree gcc/Makefile with -g. Another slightly less dirty workaround, assuming that gcc-4.5 is available on your machine, is to set the G

Re: Melt-building problem

2010-05-25 Thread Basile Starynkevitch
On Tue, 2010-05-25 at 17:09 +0200, Wolfgang wrote: > Original-Nachricht > > Datum: Tue, 25 May 2010 16:20:14 +0200 > > Von: Basile Starynkevitch > > An: Wolfgang > > CC: gcc@gcc.gnu.org > > Betreff: Re: Melt-building problem > > > O

Re: Melt-building problem

2010-05-25 Thread Basile Starynkevitch
On Tue, 2010-05-25 at 17:09 +0200, Wolfgang wrote: > Original-Nachricht > > Datum: Tue, 25 May 2010 16:20:14 +0200 > > Von: Basile Starynkevitch > > An: Wolfgang > > CC: gcc@gcc.gnu.org > > Betreff: Re: Melt-building problem > > > O

Re: GFDL/GPL issues

2010-05-25 Thread Basile Starynkevitch
years. This mostly means for me publishing the .tgz file of all the MELT files as collected by the existing contrib/make-melt-source-tar.sh script. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faie

Re: Melt-building problem

2010-05-26 Thread Basile Starynkevitch
by a bug that has been corrected a few weeks ago] Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: Melt-building problem

2010-05-26 Thread Basile Starynkevitch
On Wed, 2010-05-26 at 12:57 +0200, Basile Starynkevitch wrote: > On Wed, 2010-05-26 at 11:37 +0200, Wolfgang wrote: > > Hallo, > > > > i built gcc-melt sucessfully with a new gcc-4.5 compiler from scratch. > > As far as I understand, a recent MELT can be built with an

Re: GFDL/GPL issues

2010-05-26 Thread Basile Starynkevitch
On Wed, 2010-05-26 at 11:36 -0400, Frank Ch. Eigler wrote: > Basile Starynkevitch writes: > > > [...] > > So what should I do? > > [...] > > c. change the licenses of the melt*texi files [I certainly won't do that > > without explicit approval] to someth

Re: GFDL/GPL issues

2010-05-26 Thread Basile Starynkevitch
I cannot fund American lawyers to help (except at most by a *personal* donation of a few dozens euros, which won't help at all; I imagine that american lawyers cost nearly a million euros; any amount I could personally give is totally insignificant.). Any concrete & practical advice

Re: GFDL/GPL issues

2010-05-26 Thread Basile Starynkevitch
On Wed, 2010-05-26 at 11:19 -0700, Mark Mitchell wrote: > > As for practical advice regarding getting quicker decisions from the FSF > on licensing issues, I have none. I've worked on several such issues > with the FSF over the years, and they've all been lengthy processes. If > I knew how to do

Re: GFDL/GPL issues

2010-05-26 Thread Basile Starynkevitch
sons. Waiting for GPLv4 means waiting probably nearly twenty years (and by that time, GCC will probably cease to be relevant, and perhaps even to be actively be developed). Waiting for a change of the GCC runtime might mean waiting for 2 or 4 years. Cheers. -- Basile STARYNKEVITCH

What are PLUGINCC & PLUGINCFLAGS in gcc/Makefile.in?

2010-05-27 Thread Basile Starynkevitch
testsuite. They may change when ## bootstrapping the compiler, e.g. in stage2 ... Am I understanding that correctly? What do you think? Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg

Re: Melt-building problem

2010-05-27 Thread Basile Starynkevitch
On Wed, May 26, 2010 at 02:40:21PM +0200, Basile Starynkevitch wrote: > > No, unfortunately, the bug is still here, and appears when configuring > GCC MELT with --enable-bootstrap and when compiling it with a gcc which > is not 4.5. (I confess I rarely test that). > > I wil

Re: Melt-building problem

2010-05-27 Thread Basile Starynkevitch
On Thu, 2010-05-27 at 10:38 +0200, Basile Starynkevitch wrote: > On Wed, May 26, 2010 at 02:40:21PM +0200, Basile Starynkevitch wrote: > > > > No, unfortunately, the bug is still here, and appears when configuring > > GCC MELT with --enable-bootstrap and when compiling it wi

Re: GCC wiki page on gengtype improvements

2010-05-28 Thread Basile Starynkevitch
plugin support > and similar. I just added stuff. I am strongly convinced that a gengtype (or Qt moc) like tool is useful for GCC in all cases (even in a fully C++ GCC). Thanks for your input. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitc

possible license issue (documentation generated from source) in MELT branch of GCC

2010-05-29 Thread Basile Starynkevitch
o any technical questions. But I am not a lawyer, and not even a native English speaker. Respectful regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: trampolines handling, important copyright question

2010-05-29 Thread Basile Starynkevitch
ew hours ago. Perhaps some people (in France) at http://april.org or http://www.fsfe.org/ would give some advice. Cheers. PS. If you happen to reply to me privately, please write in French. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +3

Re: trampolines handling, important copyright question

2010-05-29 Thread Basile Starynkevitch
look at the questions and give me a good advice. Does any one know any name of a person from FSF who could give a practical advice? I know nobody in person from FSF - unless there have been some FSF people at some GCC summit I did attend. Cheers. -- Basile STARYNKEVITCH http://starynkevitc

Re: possible license issue (documentation generated from source) in MELT branch of GCC

2010-05-29 Thread Basile Starynkevitch
On Sat, 2010-05-29 at 10:39 +0200, Basile Starynkevitch wrote: > Dear Sir, > > [adressed to licens...@fsf.org & g...@gcc.gnu.org] Apparently, some human at FSF got my email. An automaton send me: > There is no need to reply to this message right now. Your request has > bee

Re: trampolines handling, important copyright question

2010-05-29 Thread Basile Starynkevitch
On Sat, 2010-05-29 at 12:45 -0400, Robert Dewar wrote: > Basile Starynkevitch wrote: > > > Does any one know any name of a person from FSF who could give a > > practical advice? I know nobody in person from FSF - unless there have > > been some FSF people at some GCC summi

Re: trampolines handling, important copyright question

2010-05-29 Thread Basile Starynkevitch
On Sat, 2010-05-29 at 16:48 -0500, Gabriel Dos Reis wrote: > On Sat, May 29, 2010 at 2:18 PM, Basile Starynkevitch > wrote: > > > I don't seek legal advice. I am only seeking *practical* advice. > > yet, you are largely talking about legal issues in substance. More l

Re: trampolines handling, important copyright question

2010-05-29 Thread Basile Starynkevitch
On Sun, 2010-05-30 at 02:10 +0200, Gerald Pfeifer wrote: > On Sun, 30 May 2010, Basile Starynkevitch wrote: > > Perhaps the question becomes: whom should I ask permission to add an > > exception to MELT code's license to permit it to generate a *texi > > document

Re: Using C++ in GCC is OK

2010-05-30 Thread Basile Starynkevitch
dynamic_cast? Do we allow them or not? What about data structures with a last field which is an array (e.g. in gimple.h the gimple_statement_with_ops). Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Fai

Re: Request for suppressing "warn_unused_result" warnings

2010-05-31 Thread Basile Starynkevitch
on or do a setjmp in C or loop forever.). But I agree that all this is not very important. Sorry for bothering! Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: Using C++ in GCC is OK

2010-05-31 Thread Basile Starynkevitch
On Mon, May 31, 2010 at 01:39:08AM -0500, Gabriel Dos Reis wrote: > On Mon, May 31, 2010 at 12:28 AM, Basile Starynkevitch > wrote: > > > At last, there is a very important issue when switching to C++. What is > > our "ideal" class hierarchy? > > The ideal

Re: Using C++ in GCC is OK

2010-05-31 Thread Basile Starynkevitch
On Mon, 2010-05-31 at 08:53 -0700, Mark Mitchell wrote: > Basile Starynkevitch wrote: > > > At last, there is a very important issue when switching to C++. What is > > our "ideal" class hierarchy? Do we aim at a large forest, or on the > > contrary at a sin

Re: possible license issue (documentation generated from source) in MELT branch of GCC

2010-05-31 Thread Basile Starynkevitch
On Sat, 2010-05-29 at 22:40 -0700, Joe Buck wrote: > On Sat, May 29, 2010 at 01:39:44AM -0700, Basile Starynkevitch wrote: > > ... I was told that > > generating a *texi file from (GPLv3+ licensed, FSF copyrighted) source > > code could be incompatible with the GFDL l

Re: Using C++ in GCC is OK

2010-05-31 Thread Basile Starynkevitch
hat changing gengtype to follow C++ could be quite painful if we follow the usual route of parsing our headers. Making a gengtype able to parse almost any C++ header file would be painful. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile

Re: [RFC] Switching implementation language to C++

2010-05-31 Thread Basile Starynkevitch
to bootstrap (i.e. make stage3), which is not true today. IIRC, today's GCC (i.e. 4.5) cannot even be configured to have a C++ front-end without having a C front-end. Do we want to change that? Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestaryn

Re: possible license issue (documentation generated from source) in MELT branch of GCC

2010-05-31 Thread Basile Starynkevitch
On Mon, 2010-05-31 at 12:51 -0400, Robert Dewar wrote: > Basile Starynkevitch wrote: > > > To my greatest & extremely positive surprise, I got today an answer from > > the FSF (I really am very happy of such a quick answer)! I hope it OK to > > cite here part of the r

Re: possible license issue (documentation generated from source) in MELT branch of GCC

2010-05-31 Thread Basile Starynkevitch
On Mon, 2010-05-31 at 22:46 +0200, Basile Starynkevitch wrote: > > I did wrote on http://gcc.gnu.org/ml/gcc-patches/2010-05/msg02442.html > about the patch I intend to apply to the MELT branch (changing copyright > notice of gcc/melt/warmelt*.melt files there). > > I also em

Re: Using C++ in GCC is OK

2010-06-01 Thread Basile Starynkevitch
nse to reuse it, or was it a proof of concept only work? [I admit I never took time to look in detail into your branch] Cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine,

Re: Using C++ in GCC is OK

2010-06-01 Thread Basile Starynkevitch
lready do. But still I don't understand how precisely we would have garbage collected vectors, or vectors of garbage collected pointers. We need them. And if possible, the solution should be generic enough to work for any other standard C++ container (i.e. maps, ...). Cheers. --

Re: Using C++ in GCC is OK

2010-06-01 Thread Basile Starynkevitch
Does a root class with only abstract virtual methods would be acceptable for you? That would add only a vtable. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: Using C++ in GCC is OK

2010-06-03 Thread Basile Starynkevitch
ture C++ code (but I don't have any concrete scenarii in mind). > * postpone conversions to later major releases. Great. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: Patch pinging

2010-06-07 Thread Basile Starynkevitch
or). It seems that perhaps you are suggesting a status in between reviewers & W.A.A. contributors. Cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: plugin_is_GPL_compatible mangling

2010-06-08 Thread Basile Starynkevitch
you want. Whatever we do, we should document that. I hope your patch will be approved. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: Patch pinging

2010-06-08 Thread Basile Starynkevitch
y or at the organization responsible of gcc.gnu.org subversion server) legally needs to know who you are, and which legal document covers your contributions to GCC. There is no personal attack involved. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkev

Re: Patch pinging

2010-06-08 Thread Basile Starynkevitch
27;t understand how can I svn-commit code which I don't have written (or which has not been written by a near colleague covered by the same legal documents). Could someone explain what exactly are the rules for committing code? I probably am understanding them too restrictiv

Re: license & copyright patch to MELT for dual GPLv3+ & GFDL1.2+

2010-06-09 Thread Basile Starynkevitch
e already dead (and perhaps RMS also, since he is born in 1953, and I was born in 1959). I even could imagine that GCC won't be very relevant by then (hint: the SIGPLAN programming language award went to a C compiler which is free -at least for some definition of free- but not GCC). -

Re: license & copyright patch to MELT for dual GPLv3+ & GFDL1.2+

2010-06-09 Thread Basile Starynkevitch
On Wed, Jun 09, 2010 at 10:46:26PM +0200, Basile Starynkevitch wrote: > Please also explain who should I contact, and how? Please also explain > how the GNU Emacs is generated. I guess it is by a software of the GNU > emacs package. Sorry for the typo, I mean "how

Re: license & copyright patch to MELT for dual GPLv3+ & GFDL1.2+

2010-06-09 Thread Basile Starynkevitch
On Wed, Jun 09, 2010 at 01:57:03PM -0700, Mark Mitchell wrote: > Basile Starynkevitch wrote: > > >> Meanwhile, I think we should try to make use of the fact that RMS is > >> permitting auto-generated reference documentation (which I have been > >> instructed no

Re: how to get instruction codes in gcc passes?

2010-06-13 Thread Basile Starynkevitch
he assembler (that is binutils, not GCC) know that nop is 0f 1f. Cheers. PS. I might have some details wrong; I am not very familiar with GCC back-ends & RTL passes. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359

typed gengtype & GCC plugins for both 4.5 & 4.6 - e.g. MELT

2010-06-15 Thread Basile Starynkevitch
lugins will try hard to be compilable & used both on gcc 4.5 & gcc 4.6. Of course, we cannot guarantee that it is doable in the general case. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: typed gengtype & GCC plugins for both 4.5 & 4.6 - e.g. MELT

2010-06-15 Thread Basile Starynkevitch
Besides, the social organization of GCC makes quite difficult any major, incompatible, changes on core GCC internal representations (like Gimple or Tree-s). In practice, the API on Gimple or Tree-s is quite stable (the last major evolution was the Tree -> Gimple transition of 4.4, and MELT went th

Re: [RFC] Cleaning up the pass manager

2010-06-15 Thread Basile Starynkevitch
ring Committee, FSF, RMS, ...) would accept the idea of generating documentation from code [and implement the legalese allowing it thru appropriate exceptions, or legal notices, or licenses], we could even imagine have an automatically generated chapter documenting the passes. We could also imagine

Re: Floating Point Representation in libgcc (is IEEE?)

2010-06-15 Thread Basile Starynkevitch
bly run it on some x86 under Linux or Cygwin (and perhaps cross-compile for an ARM target), but GCC is designed to support very strange hosts & targets, in particular systems with non IEEE 754 floating point numbers. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email:

Re: data type 'struct loop' in MELT

2010-06-17 Thread Basile Starynkevitch
On Sat, 2010-05-15 at 07:51 +0200, Basile Starynkevitch wrote: > On 05/14/2010 10:27 PM, Michael Raitza wrote: > > > > Up to now I have basic support up and running. The hash map to the loop > > is missing and I have not figured out yet what I need it for, but Basile &

plugin-provided pragmas & Fortran or Ada?

2010-06-21 Thread Basile Starynkevitch
ama-c.com/acsl_tutorial_index.html and I was thinking of using some new pragmas inside GCC to translate these pragmas to ACSL syntax comments. All this is exploratory work initiated by my intern Jeremie Salvucci. We have no idea today if this can be worked out. Cheers. -- Basile STARYNKEVITCH

what are exactly GCC core types?

2010-06-22 Thread Basile Starynkevitch
p, or remove a type from gcc/coretypes.h? Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: plugin-provided pragmas & Fortran or Ada?

2010-06-22 Thread Basile Starynkevitch
gma events to plugins. > > I'm pretty sure this won't work for Ada without modifying the Ada > front-end. Are there any plugin hooks for Ada pragmas? Perhaps the Ada team might consider adding some, if it is simple enough. Specific pragmas have definitely their places in plugi

Re: GCC RTL <-> LLVM SSA

2010-06-22 Thread Basile Starynkevitch
d representation? I don't know!). You could ask me more (e.g. here) about MELT. I am its main author. Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: GCC RTL <-> LLVM SSA

2010-06-22 Thread Basile Starynkevitch
On Tue, 2010-06-22 at 15:43 -0400, Jianzhou Zhao wrote: > On Tue, Jun 22, 2010 at 2:56 PM, Basile Starynkevitch > > To manipulate GIMPLE easily, you could be tempted to use the MELT plugin > > or branch, see http://gcc.gnu.org/wiki/MELT for more. > > > > MELT is a lis

Re: question about if_marked construct

2010-06-23 Thread Basile Starynkevitch
ly only one valid function > that can be used as an if_marked function: one which checks > ggc_marked_p on the structure. A plugin providing its own GC above GGC, like MELT does, also could use that feature. So don't remove it, please. Cheers. -- Basile STARYNKEVITCH http

Re: Patch pinging

2010-06-28 Thread Basile Starynkevitch
gal papers signed...). Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

gengtype needs for C++?

2010-06-28 Thread Basile Starynkevitch
ss that C++ will make some new useful features of GGC worthwhile; probably C++ could make almost easy the ability to add local Ggc-ed pointers, not only static or external ones.). Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 850

Re: Patch pinging

2010-06-28 Thread Basile Starynkevitch
e (and I am not a native English speaker, and even with the help of a dictionnary, I don't understand all the implicit parts of messages) I am glad that Nightstrike (and I ignored that) contribute to MinGW64 (a task I consider very difficult). Cheers. -- Basile STARYNKEVI

role of executable_checksum & LTO?

2010-06-28 Thread Basile Starynkevitch
lt with a slightly different version of MELT. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: gengtype needs for C++?

2010-06-28 Thread Basile Starynkevitch
On Mon, 2010-06-28 at 16:08 -0700, Ian Lance Taylor wrote: > Basile Starynkevitch writes: > > > * I don't know exactly what should be wished with respect to templates. > > Tom Tromey (in CC) have a wonderful insight in > > http://gcc.gnu.org/ml/gcc/2010-06/msg0014

Re: role of executable_checksum & LTO?

2010-06-28 Thread Basile Starynkevitch
On Mon, 2010-06-28 at 16:58 -0700, Ian Lance Taylor wrote: > Basile Starynkevitch writes: > > > What is the role of executable_checksum from c-common.h & generated by > > genchecksum. > > It is used for precompiled headers. It verifies that the precompiled > he

Re: role of executable_checksum & LTO?

2010-06-29 Thread Basile Starynkevitch
On Mon, 2010-06-28 at 23:30 -0700, Ian Lance Taylor wrote: > Basile Starynkevitch writes: > > > However, I see a slightly more general use of executable_checksum (or > > something similar) in plugins. Imagine a plugin that store some > > information somewhere (e.g.

Re: role of executable_checksum & LTO?

2010-06-29 Thread Basile Starynkevitch
executables is useful. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: role of executable_checksum & LTO?

2010-06-29 Thread Basile Starynkevitch
On Tue, 2010-06-29 at 07:02 -0700, Ian Lance Taylor wrote: > Basile Starynkevitch writes: > I think it would be fairly difficult to construct a case where a plugin > cared about the exact compiler, rather than the exact version and > configuration. The only reason that the PCH s

Re: gengtype needs for C++?

2010-06-29 Thread Basile Starynkevitch
On Tue, 2010-06-29 at 11:40 +0200, Paolo Bonzini wrote: > On 06/29/2010 04:16 AM, Tom Tromey wrote: > > Ian> In Tom's interesting idea, we would write the mark function by hand > > for > > Ian> each C++ type that we use GTY with. > > > > I think we should be clear that the need to write a mark f

Re: role of executable_checksum & LTO?

2010-06-29 Thread Basile Starynkevitch
On Tue, 2010-06-29 at 12:50 -0400, Diego Novillo wrote: > On Tue, Jun 29, 2010 at 12:35, Basile Starynkevitch > wrote: > > > I agree, but a plugin could also do likewise, e.g. write memory contents > > in some kind of persistent storage. > > Why don't we cro

Re: gengtype needs for C++?

2010-06-30 Thread Basile Starynkevitch
= x.begin(), q = x.end(); p != q; ++p) > gcc_mark_all (*p); > } > > > Of course it may be too bad for compilation times, it may require > other changes (e.g. to the way roots are enumerated, or because > templates require stuff to be in header files that used to be in &g

Re: About gimple_body in gimple.h

2010-06-30 Thread Basile Starynkevitch
committed them for him. But it would be much simpler for him to have the ability (that is the account) to submit on Gcc's Svn. For practical details (e.g. preferred logins, ssh keys) ask jeremie.salvu...@free.fr Cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***

Re: Plug-ins on Windows

2010-06-30 Thread Basile Starynkevitch
On Wed, 2010-06-30 at 16:38 -0400, Kyle Girard wrote: > Hello, > > I am playing around with a plug-in for gcc but recently ran into the > road block that plug-ins aren't supported on Windows. Are there any > plans to add support for the windows platform in the future? If not, > what are the issu

installing with minimal sudo

2010-06-30 Thread Basile Starynkevitch
ices welcome. Cheers. PS. On Debian, the make-kpkg command has a --rootcmd=sudo option. I am trying to imagine the equivalent for GCC. Of course on my machine sudo don't ask any password. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile:

Re: Massive performance regression from switching to gcc 4.5

2010-06-30 Thread Basile Starynkevitch
to -O2? It would be interesting to hear that GCC is able to LTO a program as big as Mozilla! And figures (notably RAM, CPU time, wallclock time for build) would be interesting. Cheers. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 85

gengtype & many GTY tags for same union component?

2010-07-02 Thread Basile Starynkevitch
ng; /// some other cases skipped } melt_un_t; By making this correction, the gengtype generated marking routine has indeed all the cases I was expecting. Do you think it is only my misunderstanding (as everyone noticed, my English language is poor since it is not my native language), or a

GTY variable_size & documentation

2010-07-13 Thread Basile Starynkevitch
nsition is needed, or at least very useful, even before any transition to C++ ? Cheers. P.S. I am not yet proposing a gty.texi patch, because I have still a one-line patch to it awaiting approval http://gcc.gnu.org//ml/gcc-patches/2010-07/msg00744.html and I usually don't work on p

<    1   2   3   4   5   6   7   8   9   >