Re: [PATCH, i386]: Fix PR target/48723

2011-04-23 Thread Uros Bizjak
On Fri, Apr 22, 2011 at 11:38 PM, Eric Botcazou wrote: >> Attached one-liner fixes PR target/48723, ICE in >> ix86_expand_prologue() with -fstack-check + function returning struct, >> on corei7-avx. The problem was, that we forgot to update accounting >> info when ix86_adjust_stack_and_probe adjus

Re: [PATCH, i386]: Fix PR target/48723

2011-04-23 Thread Uros Bizjak
On Fri, Apr 22, 2011 at 11:38 PM, Eric Botcazou wrote: >> Attached one-liner fixes PR target/48723, ICE in >> ix86_expand_prologue() with -fstack-check + function returning struct, >> on corei7-avx. The problem was, that we forgot to update accounting >> info when ix86_adjust_stack_and_probe adju

Re: [RFC] Context sensitive inline analysis

2011-04-23 Thread Richard Guenther
On Sat, Apr 23, 2011 at 1:00 AM, Jan Hubicka wrote: > Hi, > the patch also solves inliner compile time problems for mozilla: >  garbage collection    :  15.88 ( 4%) usr   0.00 ( 0%) sys  15.89 ( 4%) wall   >     0 kB ( 0%) ggc >  callgraph optimization:   3.10 ( 1%) usr   0.00 ( 0%) sys   3.09 (

Re: Fix 20020425-1.c

2011-04-23 Thread Richard Guenther
On Sat, Apr 23, 2011 at 1:43 AM, Mike Stump wrote: > On Apr 22, 2011, at 2:05 AM, Richard Guenther wrote: >> I think we shouldn't worry about this kind of testsuite fails. > > There are only two testcases in this class.  I'd rather have zero.  How do > you propose to fix them?  For some reason, p

Re: [PATCH] Fix up fold_convert_loc for MODIFY_EXPR converted to void (PR c/48685)

2011-04-23 Thread Richard Guenther
On Sat, Apr 23, 2011 at 8:36 AM, Jakub Jelinek wrote: > Hi! > > Roger changed fold_convert* back in 2007 to not actually convert to void > GIMPLE_MODIFY_STMT: > http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00279.html > as GIMPLE_MODIFY_STMT didn't have TREE_TYPE and thus converting it to > void ha

Re: RFA: Add makefile for cross-configuration torture test

2011-04-23 Thread Joern Rennecke
Quoting Jan-Benedict Glaw : On Thu, 2011-04-14 04:12:31 -0400, Joern Rennecke wrote: ... +$(LOGFILES) : log/%-make.out : % + -$(MAKE) -C $< $(TEST) > $@ 2>&1 && rm -rf $< I don't know how chatty you all like your Makefiles to be, but what about putting `tee' into the output redire

Patch ping: RFA: Add makefile for cross-configuration torture test

2011-04-23 Thread Joern Rennecke
2010-04-14 Joern Rennecke * config-list.mk: New file. http://gcc.gnu.org/ml/gcc-patches/2011-04/msg01044.html

Re: [RFC] Context sensitive inline analysis

2011-04-23 Thread Jan Hubicka
> > The problem is that cgraph_node->uid will be sparse after merging.  I > > wonder if we want > > to solve this by adding new uids to the analyzed nodes that will be denser? > > Most of summaries > > are actually attached to the analyzed nodes only. > > Can't we re-number the UIDs after mergin

Re: (build) Patch to fix cp/cfns.gperf building issues

2011-04-23 Thread Nicola Pero
> Additionally, > > contrib/gcc_update --touch > > can be used to to fix the time stamps until such time as someone changes the > gperf rule to be under maintainer mode. Thanks Mike, good to know. :-) > So, only the dependency should go away under a maintainer rules, as in the > below, not t

Re: (build) Patch to fix cp/cfns.gperf building issues

2011-04-23 Thread Mike Stump
On Apr 23, 2011, at 4:34 AM, Nicola Pero wrote: > What is the reason to keep the rule without the dependency ? Is it so that > even with --disable-maintainer-mode you can force the file to be recreated by > manually deleting it ? Yes. Think of it as a really cheap maintainer mode. Another way

[patch, fortran] Put front-end temporaries into BLOCKs

2011-04-23 Thread Thomas Koenig
Hello world, the attached patch puts temporary variables, and the statement they are being generated for, in their own BLOCK. This may or may not be useful for data locality, and for telling the middle end explicitly about the lifetime of the temporary variables. It is intended as a step to

[PATCH] Fix libcpp lexing of raw strings (PR preprocessor/48740)

2011-04-23 Thread Jakub Jelinek
Hi! The attached testcase fails when using -save-temps, -E prints the string as R"raw(foo%sbar%sfred%sbob?]raw" instead of R"raw(foo%sbar%sfred%sbob?)raw" because ??) is ] trigraph. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk/4.6? 2011-04-23 Jakub J

[committed] Fix gcc.dg/pr48616.c on hppa*-*-hpux*

2011-04-23 Thread John David Anglin
Test fails on hppa*-*-hpux* because specified alignment exceeds maximum common alignment. So add -fno-common option with target hppa*-*-hpux*. Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk and 4.6 branch. Dave -- J. David Anglin da

[Ada, doc] Fix link to the Watson/McCabe paper.

2011-04-23 Thread Gerald Pfeifer
The old link still works (via a redirect to a related page) so I only applied this to mainline. If anyone wants, I can also apply to older branches. Gerald 2011-04-23 Gerald Pfeifer * gnat_ugn.texi (Complexity Metrics Control): Update link to the Watson/McCabe paper. Index:

Re: [PATCH, 4.7] Add float/double vector reductions to VSX

2011-04-23 Thread David Edelsohn
On Wed, Mar 23, 2011 at 1:42 PM, Michael Meissner wrote: > Pat Haugen noticed we were doing stores in benchmarks where we were doing > vector reductions to extract the final float element.  So I decided to take a > look.  This code implements the vector reductions without doing stores for > float

Re: [patch] Split Parse Timevar (issue4378056)

2011-04-23 Thread Jason Merrill
On 04/22/2011 06:41 PM, Lawrence Crowl wrote: On 4/21/11, Jason Merrill wrote: On 04/21/2011 07:17 PM, Lawrence Crowl wrote: That makes sense. Inlines in the class aren't significantly different from inlines outside the class, but inlines are significantly different from non-inlines for our

Re: [PATCH] Fix libcpp lexing of raw strings (PR preprocessor/48740)

2011-04-23 Thread Jason Merrill
OK. Jason

[wwwdocs] readings.html -- remove (somewhat) duplicate reference

2011-04-23 Thread Gerald Pfeifer
We have another reference to Michel Olagnon's stuff a bit later in the document, plus the FTP did not work any more and there was no replacement... Installed. Gerald Index: readings.html === RCS file: /cvs/gcc/wwwdocs/htdocs/reading

Fix WPA corruption seen in LTO bootstrap

2011-04-23 Thread Jan Hubicka
Hi, the problems with LTO build reported by Toon is caused by a hack disabling jump function in ipa-prop on wpa. The hack is no longer needed and it is wrong, since jump function makes no sense when they are not updated. Consequentely inline cost metrics get lost. I am testing the following patch