Re: Initialize previous in read_state_param_structs

2011-06-04 Thread Alexandre Oliva
On Jun 4, 2011, Jack Howarth wrote: > Since your original patch was approved, are you checking in > http://gcc.gnu.org/ml/gcc-patches/2011-05/msg02304.html? Currently the > -O3 bootstrap is still broken without it. This one was already installed, but there's another problem that prevents -O

Re: [wwwdocs] Buildstat update for 4.3

2011-06-04 Thread Gerald Pfeifer
On Fri, 3 Jun 2011, Tom G. Christensen wrote: > Latest results for 4.3.x. Thanks, applied. Gerald

Re: [PR debug/47624] improve value tracking in non-VTA locations

2011-06-04 Thread Alexandre Oliva
On Feb 15, 2011, Alexandre Oliva wrote: > VTA only tracks locations of gimple regs, while addressable variables > still use the old var tracking strategy. This means addressable > variables, during var-tracking, got locations that were not based on > VALUEs, which failed immediately in the prese

Re: [build] Move ENABLE_EXECUTE_STACK to toplevel libgcc

2011-06-04 Thread Gerald Pfeifer
On Fri, 3 Jun 2011, Rainer Orth wrote: > * FreeBSD uses the unmodified address passed to __enable_execute_stack > to call mprocted, while all others round both address and size to a > pagesize boundary. I cannot imagine that FreeBSD supports > byte-granularity mprotect, so this seems an over

Re: [build] Move ENABLE_EXECUTE_STACK to toplevel libgcc

2011-06-04 Thread Andreas Schwab
Rainer Orth writes: > * FreeBSD uses the unmodified address passed to __enable_execute_stack > to call mprocted, while all others round both address and size to a > pagesize boundary. I cannot imagine that FreeBSD supports > byte-granularity mprotect, so this seems an oversight. Apparentl

Re: [wwwdocs] Buildstat update for 4.4

2011-06-04 Thread Gerald Pfeifer
On Fri, 3 Jun 2011, Tom G. Christensen wrote: > Latest results for 4.4.x. Thanks, Tom. Gerald

Have a boehm-gc patch for gcj/rtems

2011-06-04 Thread Jie Liu
Hi, I am working on porting gcj to rtems now, it's a project of GSoC2011.[1] And now, the first step: boehm-gc have been ported, so I want to get this patch reviewed and merged. And I have filed the FSF Paperwork, the patch has been attached. Thank you for your time. Best Regards, Jie [1]http:

Re: [trunk<-vta] Re: [vtab] Permit coalescing of user variables

2011-06-04 Thread Alexandre Oliva
On Oct 13, 2009, Alexandre Oliva wrote: > On Jun 1, 2009, Alexandre Oliva wrote: >> A long time ago, when variable tracking at assignments was just a >> distant dream, we ran into one of the first contentious points, which >> had to do with coalescing SSA names on copyrename. >> On the one han

Re: [patch] add -Wdelete-non-virtual-dtor

2011-06-04 Thread Jonathan Wakely
New patch using CLASSTYPE_PURE_VIRTUALS, thanks for that. Bootstrapped and tested again on x86_64-linux, no regressions. ChangeLogs as before, OK for trunk? Index: c-family/c.opt === --- c-family/c.opt (revision 174624) +++ c-fa

Re: [wwwdocs] Buildstat update for 4.5

2011-06-04 Thread Gerald Pfeifer
On Fri, 3 Jun 2011, Tom G. Christensen wrote: > Latest results for 4.5.x Thank, Tom, this is now online. Gerald

fix latent compare-debug problem in cprop

2011-06-04 Thread Alexandre Oliva
If cprop regards changes to debug insns as “changed”, it will perform cfg optimizations and more, even if no non-debug insns were changed, causing divergence between -g and -g0 compilations. This was observed during bootstrap-debug-lib of the SSA coalesce patch, building a-strsea.adb with -fcompar

[patch] add test for PR c++/33840

2011-06-04 Thread Jonathan Wakely
The code in the PR is correctly rejected now, this adds a test to prevent regressions so the PR can be closed. 2011-06-04 Jonathan Wakely PR c++/33840 * g++.dg/diagnostic/bitfld2.C: New. Tested x86_64-linux, ok for trunk and 4.6? Index: testsuite/g++.dg/diagnostic/bitfld2.C =

Re: [trunk<-vta] Re: [vtab] Permit coalescing of user variables

2011-06-04 Thread Jakub Jelinek
On Sat, Jun 04, 2011 at 09:40:38AM -0300, Alexandre Oliva wrote: The following changes all look wrong to me, they make the tests totally useless. If both f and g are used in real code after the asm volatile, then the both f and g will likely live in some register or memory. The whole point of the

Ping^4: Re: Updated^2: RFA: Fix middle-end/46500 (void * encapsulated)

2011-06-04 Thread Joern Rennecke
Quoting Joern Rennecke : Except or the fortran/java bits (committed), this patch hasn't been reviewed for four weeks: http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00582.html

Re: fix latent compare-debug problem in cprop

2011-06-04 Thread Steven Bosscher
On Sat, Jun 4, 2011 at 2:50 PM, Alexandre Oliva wrote: > If cprop regards changes to debug insns as “changed”, it will perform > cfg optimizations and more, even if no non-debug insns were changed, > causing divergence between -g and -g0 compilations. > > This was observed during bootstrap-debug-l

Fix estimate_size_after_inlining ICE

2011-06-04 Thread Jan Hubicka
Hi, the problem here is that we propagate predicates inconsistently through inlining breaking the transitivity that is assumed by the size estimate. Regtested/bootstrapped x86_64-linux, comitted. Honza PR tree-optimize/48929 * gcc.c-torture/compile/pr48929.c: New testcase.

Re: [PATCH] Optimize (x * 8) | 5 and (x << 3) ^ 3 to use lea (PR target/48688)

2011-06-04 Thread H.J. Lu
On Wed, Apr 20, 2011 at 9:09 AM, Jakub Jelinek wrote: > Hi! > > This splitter allows us to optimize (x {* {2,4,8},<< {1,2,3}}) {|,^} y > for constant integer y <= {1ULL,3ULL,7ULL} using lea{l,q} (| or ^ in > that case, when the low bits are known to be all 0, is like plus). > > Bootstrapped/regtes

[committed] Fix md_unwind_header file name

2011-06-04 Thread John David Anglin
The header file was renamed when it was moved. Tested on hppa-unknown-linux-gnu. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 2011-06-04 John David Anglin * config.

Re: [PATCH] Optimize (x * 8) | 5 and (x << 3) ^ 3 to use lea (PR target/48688)

2011-06-04 Thread Jakub Jelinek
On Sat, Jun 04, 2011 at 08:19:57AM -0700, H.J. Lu wrote: > I don't think this pattern is correct. See: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49281 Fixed thusly, committed as obvious: 2011-06-04 Jakub Jelinek PR target/49281 * config/i386/i386.md (*lea_general_4): R

Re: [patch] add -Wdelete-non-virtual-dtor

2011-06-04 Thread Jason Merrill
On 06/04/2011 08:45 AM, Jonathan Wakely wrote: + if (CLASSTYPE_PURE_VIRTUALS (type)) + warning(OPT_Wdelete_non_virtual_dtor, + "deleting object of abstract class type %qT" + " which has non-virtual destructor" +

Re: [patch] add test for PR c++/33840

2011-06-04 Thread Jason Merrill
OK. Jason

Re: [patch] add -Wdelete-non-virtual-dtor

2011-06-04 Thread Jonathan Wakely
On 4 June 2011 16:49, Jason Merrill wrote: > On 06/04/2011 08:45 AM, Jonathan Wakely wrote: >> >> +                 if (CLASSTYPE_PURE_VIRTUALS (type)) >> +                   warning(OPT_Wdelete_non_virtual_dtor, >> +                           "deleting object of abstract class type %qT" >> +      

Fix lto-cgraph skip_args ICE

2011-06-04 Thread Jan Hubicka
Hi, PR48954 demonstrate ICE when skip-args bitmap of a clone is NULL. Fixed this. Bootstrapped/regtested x86_64-linux, comitted. Index: ChangeLog === *** ChangeLog (revision 174641) --- ChangeLog (working copy) *** **

Re: [PATCH] Fix one part of PR42108

2011-06-04 Thread H.J. Lu
On Sat, Dec 19, 2009 at 10:50 AM, H.J. Lu wrote: > On Fri, Dec 18, 2009 at 3:29 PM, Richard Guenther wrote: >> >> This fixes one part of PR42108, the missed discovery of a full >> redundant load.  The issue is that the SSA SCC value-numberer >> does not visit loads and stores in a defined order.

[v3] update testsuite allocators to C++0x allocator API

2011-06-04 Thread Jonathan Wakely
2011-06-04 Jonathan Wakely * testsuite/util/testsuite_allocator.h (tracker_allocator::construct): Update to C++0x definition using type to construct as template parameter. (tracker_allocator::destroy): Likewise for type to destroy. (uneq_allocator::constr

Make ipa-inline-analysis to not ICE on argument count mismatch

2011-06-04 Thread Jan Hubicka
Hi, ipa-inline-analysis.c took an assumption that number of parameters of callee match number of parameters of call stmt or we will not inline at type mismatch. Our type checking code actually allows callee to have more arguments than caller, thus we need to be more permissive here, too. Bootstra

Re: [lto] Merge streamer hooks from pph branch. (issue4568043)

2011-06-04 Thread Diego Novillo
On Wed, Jun 1, 2011 at 15:19, Richard Guenther wrote: > Yes, I see no benefit of using a global function to get access > to the address of a global variable. There is the minor benefit of being able to control access to it, but I don't have a really convincing reason to give you, so I changed i

Re: [wwwdocs] Buildstat update for 4.6

2011-06-04 Thread Gerald Pfeifer
On Fri, 3 Jun 2011, Tom G. Christensen wrote: > Latest results for 4.6.x Thanks, Tom! Gerald

[PATCH] fixincludes/Makefile for Interix

2011-06-04 Thread Douglas B Rupp
Here's my proposed patch, along the lines you suggested. top_srcdir didn't seem to be set, so I used srcdir instead. Bootstrapped on x86_64-unknown-linux-gnu 2011-06-04 Douglas B Rupp * fixincludes/configure.ac (host_makefile_frag): Use mh-interix. * fixincludes/configure:

Re: PR 49145: Another (zero_extend (const_int ...)) in combine

2011-06-04 Thread Richard Sandiford
Eric Botcazou writes: > SUBREG and ZERO_EXTEND of CONST_INTs are treated somewhat specially in the > entire file, see for example do_SUBST. This isn't the case for other unary > operators, presumably because this isn't really necessary here. So I'm not > convinced that such a generalization i

Re: libquadmath with older versions of gcc

2011-06-04 Thread Syed Bilal Mehdi
Matlab only shows a warning as: Warning: You are using gcc version "4.2.4". The earliest gcc version supported with mex is "4.0.0". The latest version tested for use with mex is "4.2.0". To download a different version of gcc, visit http://gcc.gnu.org Things work fine though

Re: [PATCH, rs6000] Fix REG_CLASS_CONTENTS

2011-06-04 Thread David Edelsohn
On Fri, Jun 3, 2011 at 8:41 AM, Pat Haugen wrote: > I should have asked before, ok for 4.6 also after bootstrap/regtest? Yes. Thanks, David

[x32] PATCH: Require ia32 instead of ilp32

2011-06-04 Thread H.J. Lu
Hi, I checked in this patch. H.J. --- commit ec77028f71a04a8e48f1d64497acf821d368daf0 Author: H.J. Lu Date: Mon May 30 17:19:09 2011 -0700 Require ia32 instead of ilp32. diff --git a/gcc/testsuite/ChangeLog.x32 b/gcc/testsuite/ChangeLog.x32 index f82e95c..43af9dd 100644 --- a/gcc/testsui