Re: [google] Dump inline decisions more wisely

2012-01-07 Thread Dehao Chen
Here is the new patch. Thanks, Dehao Index: gcc/ipa-inline.c === --- gcc/ipa-inline.c(revision 182864) +++ gcc/ipa-inline.c(working copy) @@ -308,12 +308,12 @@ bfd_name = "unknown"; buf_size = strlen (bfd_name) + 1;

Re: [C++ Patch] deprecation of access declarations

2012-01-07 Thread Gerald Pfeifer
On Thu, 29 Dec 2011, Fabien Chêne wrote: > As previously announced, here is a patch that deprecate access > declarations . I did a little tour in the GCC museum old-deja --and in > g++.dg as well -- to disinter and adjust those dusty tests. To avoid > false positive on invalid code, I have decided

Re: [PATCH] [MIPS] Add Octeon2 cpu support to GCC

2012-01-07 Thread Gerald Pfeifer
On Wed, 4 Jan 2012, Andrew Pinski wrote: > Woops, I had missed that. Here is the patch which adds both octeon+ > and octeon2 to that list. > > I committed as obvious after a build. You may want to update the release notes as well (htdocs/gcc-4.7/changes.html). Gerald

[committed] Skip gcc.misc-tests/gcov-13.c and gcov-14.c on 32-bit hppa*-*-hpux*

2012-01-07 Thread John David Anglin
Tests need to be skipped for reasons noted in PRs. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- J. David Anglin dave.ang...@nrc-cnrc.gc.ca National Research Council of Canada (613) 990-0752 (FAX: 952-6602) 20

Re: [google] Dump inline decisions more wisely

2012-01-07 Thread Xinliang David Li
ok for google branches. David On Sat, Jan 7, 2012 at 1:46 AM, Dehao Chen wrote: > Here is the new patch. > > Thanks, > Dehao > > Index: gcc/ipa-inline.c > === > --- gcc/ipa-inline.c    (revision 182864) > +++ gcc/ipa-inline.c    (wo

PR tree-optimization/51680 (not inlining comdats)

2012-01-07 Thread Jan Hubicka
Hi, this patch fixes first half of the PR. The PR is about a function that is supposed to be inlined at -O2. The function contains two calls, one indirect and inlining the indirect call makes things a lot better. GCC however things that replacing call by two calls at -O2 is a bad idea. This p

Re: increase call_saved_regs[] in caller-save.c

2012-01-07 Thread Peter Bergner
On Mon, 2011-11-07 at 09:27 +0100, Michael Matz wrote: > One source of same valued pseudos are copies, and copy coalescing we (of > course) do implement. While digging through ira-color.c tracking down an IRA shuffle copy issue, I noticed we only seem to do real copy coalescing for spilled pseudo