Re: [PATCH] MIPS16 TLS support for GCC

2012-02-04 Thread Richard Sandiford
"Maciej W. Rozycki" writes: >> I don't think changing the resolver function so that it preserves >> fewer registers would be a good idea. As well as the MIPS16 thing, >> $3 is needed for _mcount. > > I don't think _mcount has ever worked for dynamic libraries, has it? -- > please correct me if

[PATCH] Fix lower-subreg shift/zext handling (PR rtl-optimization/52113)

2012-02-04 Thread Jakub Jelinek
Hi! The lower subreg pass apparently relies on recog_memoized being performed on all insns in the first pass (analysis), then it replaces some of the regs with concat and then again on each insn performs recog_memoized + extract_insn. This works, because recog_memoized then does nothing, just ret

Re: [PATCH] Fix lower-subreg shift/zext handling (PR rtl-optimization/52113)

2012-02-04 Thread Richard Sandiford
Jakub Jelinek writes: > The lower subreg pass apparently relies on recog_memoized being performed > on all insns in the first pass (analysis), then it replaces some > of the regs with concat and then again on each insn performs recog_memoized > + extract_insn. This works, because recog_memoized t

Re: [PATCH, alpha]: Default to full IEEE compliance mode for Go language.

2012-02-04 Thread Gerald Pfeifer
On Sun, 29 Jan 2012, Robert Dewar wrote: >>> * config/alpha/alpha.c (alpha_option_overrride): Default to >>> full IEEE compliance mode for Go language. > It's always worrisome for gcc based languages to default to horrible > performance, it means that many benchmarks will be run only with t

Re: [PATCH, alpha]: Default to full IEEE compliance mode for Go language.

2012-02-04 Thread Robert Dewar
On 2/4/2012 10:06 AM, Gerald Pfeifer wrote: On Sun, 29 Jan 2012, Robert Dewar wrote: * config/alpha/alpha.c (alpha_option_overrride): Default to full IEEE compliance mode for Go language. It's always worrisome for gcc based languages to default to horrible performance, it means

Re: [PATCH] Fix -fdump-rtl-sms (PR rtl-optimization/52095)

2012-02-04 Thread Ayal Zaks
On Fri, Feb 3, 2012 at 8:07 PM, Jakub Jelinek wrote: > Hi! > > On some targets e.g. sms-7.c test fails, because fprintf is called > with %s format and NULL argument, GLIBC prints for that e.g. > SMS loop num: 1, file: (null), line: 0 > but it isn't portable.  print-rtl.c guards the locator printin

Re: adjust installation docs to discourage installing GMP, MPFR and MPC separately

2012-02-04 Thread Jonathan Wakely
On 31 January 2012 15:13, Jonathan Wakely wrote: >> Can we at least recommend using the OS vendors versions of the >> libraries in case they match our minimum (not recommended) version >> requirements?  Is our in-tree build support robust enough against >> newer/older OS vendor installed copies? >

Re: [PATCH] disable __size_t macro on GNU/kFreeBSD

2012-02-04 Thread Robert Millan
El 1 de febrer de 2012 1:06, Mike Stump ha escrit: > On Jan 31, 2012, at 2:29 PM, Gerald Pfeifer wrote: >> On Sun, 29 Jan 2012, Robert Millan wrote: >>> Please consider this patch to stddef.h. GNU/kFreeBSD has the same >>> problem with __size_t as FreeBSD does, since it inherits many kernel >>> he

Re: [PATCH, SMS] Fix PR51794

2012-02-04 Thread Ayal Zaks
On Tue, Jan 10, 2012 at 12:31 PM, Revital1 Eres wrote: > > Hello, > > The patch below fixes ICE reported in PR51794. > It avoids creating DDG edges  for register uses of class DF_REF_ARTIFICIAL > as > the latter does not have real instructions for them and thus calling > BLOCK_FOR_INSN fails. > >

Re: [PATCH SMS 2/2, RFC] Register pressure estimation for the partial schedule (re-submission)

2012-02-04 Thread Ayal Zaks
SMS changes are ok. >* common.opt (fmodulo-sched-reg-pressure, -fmodulo-sched-verbose): > New flags. We should document what the different verbosity levels are, or at-least their range. Thanks, Ayal. On Tue, Jan 10, 2012 at 7:48 PM, Vladimir Makarov wrote: > On 01/03/2012 04:25 AM, R

[wwwdocs] Restructure mirrors page

2012-02-04 Thread Gerald Pfeifer
Looking at our mirrors page, I realized we probably want to direct to GNU sites first as it comes to releases and adjust the overall structure plus make the formatting more consistent and (hopefully) nicer. Installed. Gerald Index: mirrors.html ===

Re: [PATCH] OpenBSD stdint fix

2012-02-04 Thread Gerald Pfeifer
Is this patch upstream on the OpenBSD side? How and where have you tested it? I see we do not have a maintainer for OpenBSD, and no other port seems to do anything like that, but if this really matches what you have in place, I can commit it for you. Gerald On Tue, 3 Jan 2012, Mark Kettenis wr

Re: [patch] should not define bool, true or false as macros for C++

2012-02-04 Thread Gerald Pfeifer
For what it's worth, I strongly suggest that you only define those when __cpluplus is pre-C++11. There is simply too much software out there which will run into this and being aggressive in breaking (admittedly non-standard confirming programs) gives GCC a bad reputation and is not nice to our us

Re: [committed] invoke.texi: fix hyphenation of "floating point" and related terms

2012-02-04 Thread Gerald Pfeifer
On Fri, 27 Jan 2012, Sandra Loosemore wrote: 2012-01-28 Sandra Loosemore gcc/ * doc/invoke.texi: Correct hyphenation of "floating point", "double precision", and related terminology throughout the file. I believe we should document this then, as well, per the patch b

[patch] Fix PR tree-optimization/52091

2012-02-04 Thread Ira Rosen
Hi, The testcase in the PR fails when the vectorizer tries to create a reduction init statement for a non-reduction use. This patch adds a check that if operand's def stmt is a double reduction phi node, the use should be a phi node too. Bootstrapped and tested on powerpc64-suse-linux. Committed