Re: Patch pinging

2010-06-30 Thread Mark Mitchell
Ian Lance Taylor wrote: > Thanks for the info. So there is now a provenance, which is the point: > there is a more-or-less real person associated with each contribution. > I certainly would like the FSF to move to a similar model. I agree. I do understand the rationale for the FSF's desire to h

loop peeling vs TARGET_CASE_VALUES_THRESHOLD

2010-06-30 Thread DJ Delorie
In unroll_loop_runtime_iterations() we emit a sequence of n_peel compare/jump instructions. Why don't we honor TARGET_CASE_VALUES_THRESHOLD here, and use a tablejump when n_peel is too big?

Re: Plug-ins on Windows

2010-06-30 Thread Jan Hubicka
> On 06/30/2010 03:46 PM, Dave Korn wrote: > > Although we could build plugins as Windows DLLs and have GCC load them at > > runtime, if those DLLs needed to refer to anything in the main GCC > > executable, > > it would have to be specifically linked to import it - and imports on > > Windows >

Re: Plug-ins on Windows

2010-06-30 Thread Richard Henderson
On 06/30/2010 03:46 PM, Dave Korn wrote: > Although we could build plugins as Windows DLLs and have GCC load them at > runtime, if those DLLs needed to refer to anything in the main GCC executable, > it would have to be specifically linked to import it - and imports on Windows > have to explicitl

Re: installing with minimal sudo

2010-06-30 Thread Matthias Klose
On 30.06.2010 23:18, Basile Starynkevitch wrote: Practical advices 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. unsure if I understand this correctly, but

Re: Plug-ins on Windows

2010-06-30 Thread Dave Korn
On 30/06/2010 21:38, 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 issues with suppor

Re: Plug-ins on Windows

2010-06-30 Thread Joern Rennecke
Quoting Kyle Girard : Would it be a lot faster/easier to create a custom gcc that has my plug-in compiled in directly for the windows platform? Depends on how many plugins you use. The distgcc page says it's reported to work on cygwin. So you could use a cygwin distgcc to send the compile job

Re: installing with minimal sudo

2010-06-30 Thread Dave Korn
On 30/06/2010 22:18, Basile Starynkevitch wrote: > How do you build & install GCC (trunk or some other branch) without > having any root owned files in the build directory? Run "make install" as the limited user, using a DESTDIR, then "sudo cp -R" (or similar) the installed tree into final dest

Re: installing with minimal sudo

2010-06-30 Thread Joern Rennecke
Quoting Basile Starynkevitch : Hello All, Is there some trick so that the GCC trunk (or a branch like MELT) is built under some user (e.g. basile) and is installed (in the usual /usr/local prefix, which is writable by root, not by ordinary users on most Linux systems) I usually install in mor

Re: Massive performance regression from switching to gcc 4.5

2010-06-30 Thread Jan Hubicka
> On 06/30/2010 02:26 PM, Basile Starynkevitch wrote: >> On Wed, 2010-06-30 at 14:23 -0700, Taras Glek wrote: >> >>> I tried 4.5 -O2 and it's actually faster than 4.3 -Os. >>> >>> I am happy that -O2 performance is actually pretty good, but -Os >>> regression is going to hurt on mobile. >>>

Re: Massive performance regression from switching to gcc 4.5

2010-06-30 Thread Taras Glek
On 06/30/2010 02:26 PM, Basile Starynkevitch wrote: On Wed, 2010-06-30 at 14:23 -0700, Taras Glek wrote: I tried 4.5 -O2 and it's actually faster than 4.3 -Os. I am happy that -O2 performance is actually pretty good, but -Os regression is going to hurt on mobile. Did you try gcc-4.5

Re: Massive performance regression from switching to gcc 4.5

2010-06-30 Thread Basile Starynkevitch
On Wed, 2010-06-30 at 14:23 -0700, Taras Glek wrote: > > I tried 4.5 -O2 and it's actually faster than 4.3 -Os. > > I am happy that -O2 performance is actually pretty good, but -Os > regression is going to hurt on mobile. Did you try gcc-4.5 -flto -Os or gcc-4.5 -flto -O2? It would be interest

Re: Massive performance regression from switching to gcc 4.5

2010-06-30 Thread Taras Glek
On 06/24/2010 12:06 PM, Andrew Pinski wrote: On Jun 24, 2010, at 11:50 AM, Taras Glek wrote: Hi, Just wanted to give a heads up on what might be the biggest compiler-upgrade-related performance difference we've seen at Mozilla. We switched gcc4.3 for gcc4.5 and our automated benchmarking

installing with minimal sudo

2010-06-30 Thread Basile Starynkevitch
Hello All, Is there some trick so that the GCC trunk (or a branch like MELT) is built under some user (e.g. basile) and is installed (in the usual /usr/local prefix, which is writable by root, not by ordinary users on most Linux systems) My concrete need is the following after a make and a

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

Re: The trunk is fronzen NOW for the mem-ref2 merge

2010-06-30 Thread Richard Guenther
On Wed, Jun 30, 2010 at 10:49 PM, Paolo Carlini wrote: > On 06/30/2010 09:59 PM, Richard Guenther wrote: >> The trunk is frozen now.  I am in the process of committing a >> last trunk-to-branch merge and start testing of the merge >> (and the trunk for comparison) on x86_64-linux, ppc64-linux >> a

Re: The trunk is fronzen NOW for the mem-ref2 merge

2010-06-30 Thread Paolo Carlini
On 06/30/2010 09:59 PM, Richard Guenther wrote: > The trunk is frozen now. I am in the process of committing a > last trunk-to-branch merge and start testing of the merge > (and the trunk for comparison) on x86_64-linux, ppc64-linux > and ia64-linux including multilibs where appropriate. > Apol

Plug-ins on Windows

2010-06-30 Thread Kyle Girard
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 issues with supporting Windows and how much effort would it be to add

The trunk is fronzen NOW for the mem-ref2 merge

2010-06-30 Thread Richard Guenther
The trunk is frozen now. I am in the process of committing a last trunk-to-branch merge and start testing of the merge (and the trunk for comparison) on x86_64-linux, ppc64-linux and ia64-linux including multilibs where appropriate. Thanks for your cooperation, Richard.

Re: About gimple_body in gimple.h

2010-06-30 Thread Manuel López-Ibáñez
On 30 June 2010 21:28, Basile Starynkevitch wrote: > > However, he still don't have any ssh account on gcc.gnu.org so he don't > not yet have in practice write (after approval) access to the Subversion > repository of GCC. > > What are the concrete steps to get him such an account? http://gcc.gnu

Re: Patch pinging

2010-06-30 Thread NightStrike
On Wed, Jun 30, 2010 at 3:24 PM, David Edelsohn wrote: > He understood your point very well.  That is why Frank said, "You > falsely presume zero vetting." Maybe I didn't get the zero vetting part, then. I thought I did, but apparently not. What does that mean in this context? Google isn't tel

Re: About gimple_body in gimple.h

2010-06-30 Thread Basile Starynkevitch
On Wed, 2010-06-30 at 21:15 +0200, Manuel López-Ibáñez wrote: > On 28 June 2010 15:48, Diego Novillo wrote: > > On Mon, Jun 28, 2010 at 09:38, wrote: > >> Hello all, > >> > >> I would like to know why does gimple_body returns NULL pointer when I try > >> to use it after the "cfg" pass ? Does so

Re: Patch pinging

2010-06-30 Thread David Edelsohn
On Wed, Jun 30, 2010 at 1:32 PM, NightStrike wrote: > On Wed, Jun 30, 2010 at 1:13 PM, Frank Ch. Eigler wrote: >> >> NightStrike writes: >> >>> [...] So who actually said no? >>> >>> The Frederic guy didn't like my fake-looking fake name, and wanted a >>> real-looking-but-just-as-fake name,

Re: About gimple_body in gimple.h

2010-06-30 Thread Manuel López-Ibáñez
On 28 June 2010 15:48, Diego Novillo wrote: > On Mon, Jun 28, 2010 at 09:38,   wrote: >> Hello all, >> >> I would like to know why does gimple_body returns NULL pointer when I try to >> use it after the "cfg" pass ? Does someone have informations about the >> general use of it ? > > Because the

Re: Patch pinging

2010-06-30 Thread Paolo Carlini
I meant pillow of course ;) ;) Paolo.

Re: Patch pinging

2010-06-30 Thread Paolo Carlini
On 06/30/2010 07:44 PM, NightStrike wrote: > No idea. I've been emailed offlist by 3 people that used fake names. > Or at least claimed to. > Personally, I have trouble believing that (unless we have independent evidence that they also sleep with a 44 Magnum under the napkin). In any case, per

Re: Patch pinging

2010-06-30 Thread NightStrike
On Wed, Jun 30, 2010 at 1:41 PM, Paolo Carlini wrote: > On 06/30/2010 07:32 PM, NightStrike wrote: >>> In consultation with other overseers, I rejected your request.  I did >>> not ask for a "real-looking-but-just-as-fake name", but a "real name". >>> You falsely presume zero vetting. >>> >> You m

Re: Patch pinging

2010-06-30 Thread Paolo Carlini
On 06/30/2010 07:32 PM, NightStrike wrote: >> In consultation with other overseers, I rejected your request. I did >> not ask for a "real-looking-but-just-as-fake name", but a "real name". >> You falsely presume zero vetting. >> > You missed my point, then. What's in a name? How would you k

Re: Patch pinging

2010-06-30 Thread NightStrike
On Wed, Jun 30, 2010 at 1:13 PM, Frank Ch. Eigler wrote: > > NightStrike writes: > >> [...] >>> So who actually said no? >> >> The Frederic guy didn't like my fake-looking fake name, and wanted a >> real-looking-but-just-as-fake name, or he wouldn't create a account >> for me. > > In consultation

Re: Patch pinging

2010-06-30 Thread Frank Ch. Eigler
NightStrike writes: > [...] >> So who actually said no? > > The Frederic guy didn't like my fake-looking fake name, and wanted a > real-looking-but-just-as-fake name, or he wouldn't create a account > for me. In consultation with other overseers, I rejected your request. I did not ask for a "r

Re: call_value problem: var = func() !?

2010-06-30 Thread Richard Henderson
On 06/30/2010 05:06 AM, M. -Eqbal Maraqa wrote: > f1.c:5:1: error: unrecognizable insn: > (insn 12 11 13 3 f1.c:4 >(set (mem/c/i:SI (reg/f:SI 23 [ D.1964 ]) [0 +0 S4 A32]) > (mem/c/i:SI (plus:SI (reg/f:SI 19 virtual-stack-vars) > (const_int -4 [0xff

Re: invalid insn generated

2010-06-30 Thread Ian Lance Taylor
roy rosen writes: > I have already have both and it still does that. > It seems that after we get here, nothing would stop gcc from emiting > such an invalid insn (tem = emit_insn (gen_move_insn (out, in));). So > I think that maybe the problem is that I got there with these in and > out argument

call_value problem: var = func() !?

2010-06-30 Thread M. -Eqbal Maraqa
Hello, I'm working on a new gcc target and trying to implement call_value. When compiling (-O0 -S) the following c code : int f1(int a, int b) { int tmp = a + b; return tmp; } void main() { int a = 10; int b = 20; int c; c = f1(a,b); } I get the followi

Re: gengtype needs for C++?

2010-06-30 Thread Basile Starynkevitch
On Wed, Jun 30, 2010 at 11:51:46AM +0200, Paolo Bonzini wrote: > > Now: > > /* A zillion macros like this one: */ [...] > > > After: > > /* Two templates like these: */ > template static inline void > ggc_mark_all (T *const x) > { > if (x != NULL) ggc_mark_all_1 (x); > } > > template stat

Re: gengtype needs for C++?

2010-06-30 Thread Paolo Bonzini
On 06/29/2010 06:48 PM, Basile Starynkevitch wrote: 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 c

Re: invalid insn generated

2010-06-30 Thread roy rosen
I have already have both and it still does that. It seems that after we get here, nothing would stop gcc from emiting such an invalid insn (tem = emit_insn (gen_move_insn (out, in));). So I think that maybe the problem is that I got there with these in and out arguments. 2010/6/23, Ian Lance Tayl