[committed] Fix two pastos in guality/rotatetest.c

2011-06-04 Thread Jakub Jelinek
Hi! f4/f5/f6 were copied from f1/f2/f3, just with s/long/int/, but only in f4 I've adjusted the shift count. Fixed thusly, committed to trunk. 2011-06-04 Jakub Jelinek ja...@redhat.com * gcc.dg/guality/rotatetest.c (f5, f6): Fix up pastos. ---

Re: [Patch,AVR]: Solve PR42210

2011-06-04 Thread Denis Chertykov
2011/5/28 Georg-Johann Lay a...@gjlay.de: Georg-Johann Lay wrote: Georg-Johann Lay wrote: Richard Henderson wrote: Why are you adding optimize to all these insns?  None of them will be matched unless combine is run, which implies optimization. Here is a patch without optimize in the

Re: Initialize previous in read_state_param_structs

2011-06-04 Thread Alexandre Oliva
On Jun 4, 2011, Jack Howarth howa...@bromo.med.uc.edu 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

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: [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

Re: [build] Move ENABLE_EXECUTE_STACK to toplevel libgcc

2011-06-04 Thread Andreas Schwab
Rainer Orth r...@cebitec.uni-bielefeld.de 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

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

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) +++

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

[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 jwakely@gmail.com PR c++/33840 * g++.dg/diagnostic/bitfld2.C: New. Tested x86_64-linux, ok for trunk and 4.6? Index:

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

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

2011-06-04 Thread Joern Rennecke
Quoting Joern Rennecke amyl...@spamcop.net: 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 aol...@redhat.com 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

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 ja...@redhat.com 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).

[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

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 hjl.to...@gmail.com wrote: On Fri, Dec 18, 2009 at 3:29 PM, Richard Guenther rguent...@suse.de 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

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

2011-06-04 Thread Jonathan Wakely
2011-06-04 Jonathan Wakely jwakely@gmail.com * 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.

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.

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 rguent...@suse.de 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

[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 r...@gnat.com * fixincludes/configure.ac (host_makefile_frag): Use mh-interix. *

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. So

Re: [PATCH, rs6000] Fix REG_CLASS_CONTENTS

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