Re: Machine Description Template?

2009-06-09 Thread Martin Guy
On 6/5/09, Graham Reitz wrote: > I have been working through sections 16 & 17 of the gccint.info > document and also read through Hans' 'Porting GCC for Dunces'. There is also "Incremental Machine Descriptions for GCC" http://www.cse.iitb.ac.in/~uday/soft-copies/incrementalMD.pdf which describes

Re: several installed gcc, or libdir should depend upon -program-suffix...

2009-06-09 Thread Gerald Pfeifer
On Tue, 9 Jun 2009, Basile STARYNKEVITCH wrote: > How do you folks have several GCC installed at the same prefix? Yes, I have been doing this for the FreeBSD ports for years, and what I am using there is the following --program-suffix=${SUFFIX} \ --libdir=${TARGLIB} \ --libexecd

Re: What is -3.I (as opposed to 0-3.I) supposed evaluate to?

2009-06-09 Thread Joseph S. Myers
On Mon, 8 Jun 2009, Kaveh R. Ghazi wrote: > Perhaps the only safe way to create the value, even in the presence of > rounding mode changes, is to use conj(3.I) ? Setting the __real__ and __imag__ parts of a temporary variable should always be reliable for making a complex number out of arbitrary

Bootstrap failures on solaris

2009-06-09 Thread Art Haas
Hi. I've had no luck with recent bootstraps on both i386-pc-solaris2.10 and sparc-sun-solaris2.10. The error messages below are from builds performed after updating my repo this morning. i386-pc-solaris: cc1: warnings being treated as errors /export/home/arth/gnu/gcc.git/gcc/tree-ssa-loop-prefe

Re: git mirror at infradead?

2009-06-09 Thread Jason Merrill
Bernie Innocenti wrote: On 06/07/09 12:40, Ralf Wildenhues wrote: Is this mirror an independent conversion from the infradead one (i.e., I have to throw away the repo and re-download a full repo? Or can I reuse objects)? It's an independent mirror, and I wouldn't recommend switching to it y

Re: What is -3.I (as opposed to 0-3.I) supposed evaluate to?

2009-06-09 Thread Kaveh R. Ghazi
From: "Joseph S. Myers" On Mon, 8 Jun 2009, Kaveh R. Ghazi wrote: Perhaps the only safe way to create the value, even in the presence of rounding mode changes, is to use conj(3.I) ? Setting the __real__ and __imag__ parts of a temporary variable should always be reliable for making a comple

Re: What is -3.I (as opposed to 0-3.I) supposed evaluate to?

2009-06-09 Thread Richard Guenther
On Tue, Jun 9, 2009 at 11:26 AM, Kaveh R. Ghazi wrote: > From: "Joseph S. Myers" > >> On Mon, 8 Jun 2009, Kaveh R. Ghazi wrote: >> >>> Perhaps the only safe way to create the value, even in the presence of >>> rounding mode changes, is to use conj(3.I) ? >> >> Setting the __real__ and __imag__ par

Re: Bootstrap failures on solaris

2009-06-09 Thread Revital1 Eres
Hello, > i386-pc-solaris: > > cc1: warnings being treated as errors > /export/home/arth/gnu/gcc.git/gcc/tree-ssa-loop-prefetch.c: In function > 'loop_prefetch_arrays': > /export/home/arth/gnu/gcc.git/gcc/tree-ssa-loop-prefetch.c:1589:7: error: > format '%ld' expects type 'long int', but argument

Re: Bootstrap failures on solaris

2009-06-09 Thread Kaveh R. GHAZI
On Tue, 9 Jun 2009, Art Haas wrote: > > Hi. > > I've had no luck with recent bootstraps on both i386-pc-solaris2.10 and > sparc-sun-solaris2.10. The error messages below are from builds performed > after updating my repo this morning. > > i386-pc-solaris: > > cc1: warnings being treated as errors

Re: Bootstrap failures on solaris

2009-06-09 Thread Adam Nemet
Revital1 Eres writes: > Hello, > >> i386-pc-solaris: >> >> cc1: warnings being treated as errors >> /export/home/arth/gnu/gcc.git/gcc/tree-ssa-loop-prefetch.c: In function >> 'loop_prefetch_arrays': >> /export/home/arth/gnu/gcc.git/gcc/tree-ssa-loop-prefetch.c:1589:7: error: > >> format '%ld' expe

increasing the number of GCC reviewers

2009-06-09 Thread Basile STARYNKEVITCH
Hello All, I am unfortunately not attending the GCC summit which happens right now in Montreal. But apparently, there seems to be a lack of code reviewers for GCC. The few people who do review code seems to have a lot of review in their batch queue. Perhaps could be discussed at the summit

Re: increasing the number of GCC reviewers

2009-06-09 Thread Andrew Haley
Basile STARYNKEVITCH wrote: > I am unfortunately not attending the GCC summit which happens right now > in Montreal. > > But apparently, there seems to be a lack of code reviewers for GCC. The > few people who do review code seems to have a lot of review in their > batch queue. > > Perhaps could

Re: increasing the number of GCC reviewers

2009-06-09 Thread Basile STARYNKEVITCH
Andrew Haley wrote: Basile STARYNKEVITCH wrote: Perhaps could be discussed at the summit some way to increase the set of reviewers, i.e. the set of people able to say Ok to a patch submitted on gcc-patches@ As I understand it, the set of reviewers allowed to say OK to a patch is limited

Re: increasing the number of GCC reviewers

2009-06-09 Thread Basile STARYNKEVITCH
Basile STARYNKEVITCH wrote: Andrew Haley wrote: Basile STARYNKEVITCH wrote: PS. [note *] GCC is a huge software, so understanding well a part of it could be enough to understand some patches. And GCC is a huge software I meant GCC is growing a lot. Its increase rate (about 1MLOC in less

Re: increasing the number of GCC reviewers

2009-06-09 Thread Andrew Haley
Basile STARYNKEVITCH wrote: > Andrew Haley wrote: >> Basile STARYNKEVITCH wrote: >>> >>> Perhaps could be discussed at the summit some way to increase the set of >>> reviewers, i.e. the set of people able to say Ok to a patch submitted on >>> gcc-patches@ >> >> As I understand it, the set of review

Re: increasing the number of GCC reviewers

2009-06-09 Thread Adam Nemet
Andrew Haley writes: > We need something more like "I think Fred Bloggs knows gcc well enough > to approve patches to reload" or "I am Fred Bloggs and I know gcc well > enough to approve patches to reload." And whom should such email be sent to? The SC is best reached on gcc@ but I don't think t

Re: increasing the number of GCC reviewers

2009-06-09 Thread Andrew Haley
Adam Nemet wrote: > Andrew Haley writes: >> We need something more like "I think Fred Bloggs knows gcc well enough >> to approve patches to reload" or "I am Fred Bloggs and I know gcc well >> enough to approve patches to reload." > > And whom should such email be sent to? The SC is best reached

RE: Bootstrap failures on solaris

2009-06-09 Thread Arthur Haas
>Revital1 Eres writes: >> Hello, >> >>> i386-pc-solaris: >>> >>> cc1: warnings being treated as errors >>> /export/home/arth/gnu/gcc.git/gcc/tree-ssa-loop-prefetch.c: In function >>> 'loop_prefetch_arrays': >>> /export/home/arth/gnu/gcc.git/gcc/tree-ssa-loop-prefetch.c:1589:7: error: >>> >>> forma

Re: increasing the number of GCC reviewers

2009-06-09 Thread Basile STARYNKEVITCH
FWIW, I am not taking this question personally (I don't really claim that I could become any kind of reviewer; I believe in general that reviewing abilities should be evaluated by others.). I just think the set of reviewers should significantly grow. Andrew Haley wrote: My feeling is on

Re: increasing the number of GCC reviewers

2009-06-09 Thread Paolo Bonzini
My feeling is on the contrary that the set of people having a real knowledge of gcc (or at least of substantial parts of it [*]) is much bigger than the set of reviewers allowed to say OK. That's certainly true, but there's a big difference between having real knowledge of gcc and having enoug

Re: increasing the number of GCC reviewers

2009-06-09 Thread Richard Guenther
On Tue, Jun 9, 2009 at 2:10 PM, Basile STARYNKEVITCH wrote: > FWIW, I am not taking this question personally (I don't really claim that I > could become any kind of reviewer; I believe in general that reviewing > abilities should be evaluated by others.). I just think the set of reviewers > should

Re: increasing the number of GCC reviewers

2009-06-09 Thread Andrew Haley
Basile STARYNKEVITCH wrote: > FWIW, I am not taking this question personally (I don't really claim > that I could become any kind of reviewer; I believe in general that > reviewing abilities should be evaluated by others.). I just think the > set of reviewers should significantly grow. But that ne

New Moxie port and maintainer

2009-06-09 Thread Gerald Pfeifer
It is my pleasure to announce that the steering committee is appointing Anthony Green as maintainer of the new Moxie port that has been approved from a technical perspective as well. Please adjust the MAINTAINERS file accordingly, Anthony, and happy hacking! And of course, go ahead and commit the

Re: increasing the number of GCC reviewers

2009-06-09 Thread Basile STARYNKEVITCH
Andrew Haley wrote: Basile STARYNKEVITCH wrote: FWIW, I am not taking this question personally (I don't really claim that I could become any kind of reviewer; I believe in general that reviewing abilities should be evaluated by others.). I just think the set of reviewers should significantly

Re: git mirror at infradead?

2009-06-09 Thread Bernie Innocenti
On 06/09/09 16:17, Jason Merrill wrote: > Bernie Innocenti wrote: >> On 06/07/09 12:40, Ralf Wildenhues wrote: >>> Is this mirror an independent conversion from the infradead one (i.e., I >>> have to throw away the repo and re-download a full repo? Or can I reuse >>> objects)? >> >> It's an inde

Re: increasing the number of GCC reviewers

2009-06-09 Thread Joe Buck
On Tue, Jun 09, 2009 at 10:54:06AM -0700, Adam Nemet wrote: > Andrew Haley writes: > > We need something more like "I think Fred Bloggs knows gcc well enough > > to approve patches to reload" or "I am Fred Bloggs and I know gcc well > > enough to approve patches to reload." > > And whom should su

Re: increasing the number of GCC reviewers

2009-06-09 Thread Andrew Haley
Basile STARYNKEVITCH wrote: > Andrew Haley wrote: >> Basile STARYNKEVITCH wrote: >> >> This is going to sound rude, but if you don't know what reload is >> you're not able to talk about gcc maintenance. > > Reload is probably in the register allocator, which indeed is in the > backend part I know

plugin callbacks after compiler errors

2009-06-09 Thread Taras Glek
While developing my plugin I've noticed that many callbacks need to be guarded with "if (errorcount)" or the plugin will cause a gcc crash due to receiving less complete data than it expected. Should the plugin API guard callbacks in invoke_plugin_callbacks() to avoid 99% of plugins running in

Re: plugin callbacks after compiler errors

2009-06-09 Thread Basile STARYNKEVITCH
Taras Glek wrote: While developing my plugin I've noticed that many callbacks need to be guarded with "if (errorcount)" or the plugin will cause a gcc crash due to receiving less complete data than it expected. Should the plugin API guard callbacks in invoke_plugin_callbacks() to avoid 99% of

Re: Expanding a load instruction

2009-06-09 Thread Jean Christophe Beyler
Dear all, I've moved forward on this issue. Again, the problem is not that the data is not aligned but that the compiler tries to generate this instruction: (set (reg:HI 141) (mem/s/j:HI (plus:DI (reg:DI 134 [ ivtmp.23 ]) (const_int 1 [0x1])) [0 .geno+0 S2 A16])) And, in my target archi

Re: increasing the number of GCC reviewers

2009-06-09 Thread Diego Novillo
Basile, You don't need to convince us that we need more reviewers. We all agree on that. You simply need to suggest a reviewer for some set of files that - Knows that set of files very well - Is familiar with GCC development - Is willing to review patches and be a maintainer for those files - H

Re: increasing the number of GCC reviewers

2009-06-09 Thread Gabriel Dos Reis
On Tue, Jun 9, 2009 at 3:22 PM, Diego Novillo wrote: > You'll quickly find out that this makes for a fairly small set of > people.  Long term, I don't think we would do us a service if we > relaxed any of those requirements too much. Excellent summary. -- Gaby

Re: Bootstrap failures on solaris

2009-06-09 Thread Ian Lance Taylor
"Arthur Haas" writes: > Now that this patch has been commited, the build on i386-pc-solaris2.10 > succeeds when building tree-ssa-loop-prefetch.o file but fails later on: > > cc1: warnings being treated as errors > /export/home/arth/gnu/gcc.git/gcc/gcc.c: In function 'compare_files': > /export/ho

Re: increasing the number of GCC reviewers

2009-06-09 Thread Tom Tromey
> "Basile" == Basile STARYNKEVITCH writes: Basile> I believe I might even become in a few years some kind of Basile> gcc/ggc*.[ch] secondary reviewer. I don't want to become one Basile> (being a reviewer is probably more a burden than an honor, and Basile> probably consume a lot of time, and

Re: increasing the number of GCC reviewers

2009-06-09 Thread Ian Lance Taylor
Basile STARYNKEVITCH writes: > I am unfortunately not attending the GCC summit which happens right > now in Montreal. > > But apparently, there seems to be a lack of code reviewers for > GCC. The few people who do review code seems to have a lot of review > in their batch queue. > > Perhaps could

Re: plugin callbacks after compiler errors

2009-06-09 Thread Diego Novillo
On Tue, Jun 9, 2009 at 15:33, Taras Glek wrote: > While developing my plugin I've noticed that many callbacks need to be > guarded with "if (errorcount)" or the plugin will cause a gcc crash due to > receiving less complete data than it expected. More details please. What exactly is the error and

Re: Expanding a load instruction

2009-06-09 Thread Dave Korn
Jean Christophe Beyler wrote: > Dear all, > > I've moved forward on this issue. Again, the problem is not that the > data is not aligned but that the compiler tries to generate this > instruction: > > (set (reg:HI 141) (mem/s/j:HI (plus:DI (reg:DI 134 [ ivtmp.23 ]) > (const_int 1 [0x1]))

gcc-4.4-20090609 is now available

2009-06-09 Thread gccadmin
Snapshot gcc-4.4-20090609 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.4-20090609/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.4 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Bootstrap failures on solaris

2009-06-09 Thread Jonathan Wakely
2009/6/9 Ian Lance Taylor: > > I believe that POSIX specifices that munmap takes a void * argument.  Is > there some preprocessor define we can use to direct the Solaris header > files to compile in POSIX mode?  If so, it should work to add it to > CFLAGS (using +=) in TOPLEVEL/config/mh-solaris.

Re: git mirror at infradead?

2009-06-09 Thread Daniel Berlin
On Tue, Jun 9, 2009 at 3:16 PM, Bernie Innocenti wrote: > On 06/09/09 16:17, Jason Merrill wrote: >> Bernie Innocenti wrote: >>> On 06/07/09 12:40, Ralf Wildenhues wrote: Is this mirror an independent conversion from the infradead one (i.e., I have to throw away the repo and re-download a

Re: increasing the number of GCC reviewers

2009-06-09 Thread Ben Elliston
On Tue, 2009-06-09 at 19:00 +0100, Andrew Haley wrote: > I think it's a much better idea to contact Fred (or Freda, for that matter) > Bloggs to ask them if they want to maintain reload. :-) Wouldn't it be Alan Smithee to maintain reload? :-) Ben

Re: git mirror at infradead?

2009-06-09 Thread Ian Lance Taylor
Daniel Berlin writes: > I don't see a problem doing this (we definitely don't want two > versions installed), but there are real live git projects on > sourceware so we should be a bit careful. fche has already installed git 1.6.3.2 in /usr/local/bin on sourceware. That is now the one you will g

Re: increasing the number of GCC reviewers

2009-06-09 Thread Ben Elliston
On Tue, 2009-06-09 at 21:13 +0200, Basile STARYNKEVITCH wrote: > This is precisely my point. It should be perfectly acceptable that some > people be authorized to approve some few patches without understanding > the whole of GCC, and even without knowing all of it. I sympathise with this point

Re: increasing the number of GCC reviewers

2009-06-09 Thread Joseph S. Myers
On Tue, 9 Jun 2009, Ian Lance Taylor wrote: > I believe that the most useful immediate thing we could do to speed up > gcc development would be to move to a distributed version control > system. We haven't even finished the last version control system transition (wwwdocs is still using CVS), it'

skip_evaluation

2009-06-09 Thread Ian Lance Taylor
I have a question for C++ language lawyers. The common part of the C/C++ frontends has a global variable named skip_evaluation. Both frontends set this variable while parsing an expression inside sizeof and friends. This has the effect of disabling various warnings which are irrelevant for code

Re: git mirror at infradead?

2009-06-09 Thread Angela Marie Thomas
i...@google.com wrote: > Daniel Berlin writes: > > > I don't see a problem doing this (we definitely don't want two > > versions installed), but there are real live git projects on > > sourceware so we should be a bit careful. > > fche has already installed git 1.6.3.2 in /usr/local/bin on sou

Re: increasing the number of GCC reviewers

2009-06-09 Thread Ian Lance Taylor
"Joseph S. Myers" writes: > At the human level I suspect it would help to have people who watch for > submissions from non-regulars (including those attached to Bugzilla) and > help them prepare patches following all the usual conventions and get them > reviewed (checking for copyright assignm

Re: increasing the number of GCC reviewers

2009-06-09 Thread Tom Tromey
> "Joseph" == Joseph S Myers writes: Ian> I believe that the most useful immediate thing we could do to speed up Ian> gcc development would be to move to a distributed version control Ian> system. Joseph> We haven't even finished the last version control system Joseph> transition (wwwdocs is

Re: increasing the number of GCC reviewers

2009-06-09 Thread Dave Korn
Ben Elliston wrote: > On Tue, 2009-06-09 at 19:00 +0100, Andrew Haley wrote: > >> I think it's a much better idea to contact Fred (or Freda, for that matter) >> Bloggs to ask them if they want to maintain reload. :-) > > Wouldn't it be Alan Smithee to maintain reload? :-) > > Ben Burn, Reloa

Re: plugin callbacks after compiler errors

2009-06-09 Thread Taras Glek
Diego Novillo wrote: On Tue, Jun 9, 2009 at 15:33, Taras Glek wrote: While developing my plugin I've noticed that many callbacks need to be guarded with "if (errorcount)" or the plugin will cause a gcc crash due to receiving less complete data than it expected. More details please. Wh

Re: increasing the number of GCC reviewers

2009-06-09 Thread Daniel Berlin
On Tue, Jun 9, 2009 at 8:51 PM, Joseph S. Myers wrote: > On Tue, 9 Jun 2009, Ian Lance Taylor wrote: > >> I believe that the most useful immediate thing we could do to speed up >> gcc development would be to move to a distributed version control >> system. > > We haven't even finished the last vers

Re: sched2, ret, use, and VLIW bundling

2009-06-09 Thread DJ Delorie
> The problem may be in the dependency cost between the SET (insn 27) > and the USE (insn 30) being >= 1. Have you tried using > targetm.sched.adjust_cost() hook to set the cost of USE to 0? It doesn't get called for those two insns. > Anyway, this seems strange, the scheduler should just outpu

Re: sched2, ret, use, and VLIW bundling

2009-06-09 Thread DJ Delorie
Some progress... the scheduler is willing to schedule them together if I define the SCHED_REORDER2 hook (just SCHED_REORDER was insufficient), and always return the number of ready insns. In my case, the VLIW packing restrictions are fully defined by a DFA; I don't need to further restrict packin

Re: Please update http://gcc.gnu.org/gcc-4.3/buildstat.html

2009-06-09 Thread Tom Christensen
Dennis Clarke wrote: Re: http://gcc.gnu.org/gcc-4.3/buildstat.html I was looking for testsuite results to compare with on Solaris and I saw that nearly every report for GCC 4.3.3 was done by Tom G. Christensen. All GCC 4.3.3 reports on Solaris from one person : You better get cracking on 4.4

Re: New Moxie port and maintainer

2009-06-09 Thread Anthony Green
Gerald Pfeifer wrote: It is my pleasure to announce that the steering committee is appointing Anthony Green as maintainer of the new Moxie port that has been approved from a technical perspective as well. Please adjust the MAINTAINERS file accordingly, Anthony, and happy hacking! And of course,