libgo patch committed: Print stack trace on panic or signal

2012-05-16 Thread Ian Lance Taylor
This patch to libgo changes it to print a stack trace on a panic or when receiving a signal that kills the program. This is what the other Go compiler does, and is more convenient for the developer. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline and 4.7 bran

Re: [google][4.7]Port function reordering via linker plugin from google/gcc-4_6 branch (issue6195099)

2012-05-16 Thread Xinliang David Li
ok for google-4_7 branch. This should also be pushed to trunk. Thanks, David On Wed, May 16, 2012 at 6:56 PM, Sriraman Tallam wrote: > Patch too large to be attached, rejected by gcc-patches. Please see: > > http://codereview.appspot.com/download/issue6195099_1.diff > > Thanks, > -Sri. > > On W

Re: [C++ Patch] PR 44516

2012-05-16 Thread Jason Merrill
On 05/16/2012 08:34 PM, Paolo Carlini wrote: Ok. Something like p2 below? Yes. Since the earlier patch without LOC_OR_HERE passed testing, let's apply that plus this p2. Does Manuel's suggestion of aborting if we get UNKNOWN_LOCATION for a diagnostic pass the testsuite? Jason

Re: rs6000 toc reference rtl again

2012-05-16 Thread David Edelsohn
On Tue, May 1, 2012 at 12:17 AM, Alan Modra wrote: >        * config/rs6000/predicates.md (input_operand): Don't match >        constant pool addresses.  Remove label_ref, high and plus from >        match_code list.  Remove redundant CONSTANT_P test. >        (splat_input_operand): Similarly upd

Re: [PATCH][1/n] Improve vectorization in PR53355

2012-05-16 Thread William J. Schmidt
On Tue, 2012-05-15 at 14:17 +0200, Richard Guenther wrote: > This is the first patch to make the generated code for the testcase > in PR53355 better. It teaches VRP about LSHIFT_EXPRs (albeit only > of a very simple form). > > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. This a

Re: [google][4.7]Port function reordering via linker plugin from google/gcc-4_6 branch (issue6195099)

2012-05-16 Thread Sriraman Tallam
Patch too large to be attached, rejected by gcc-patches. Please see: http://codereview.appspot.com/download/issue6195099_1.diff Thanks, -Sri. On Wed, May 16, 2012 at 6:52 PM, Sriraman Tallam wrote: > Hi, > >  This patch ports function reordering support into google/gcc-4_7 branch >  from google

Re: [C++ Patch] PR 44516

2012-05-16 Thread Paolo Carlini
Hi, On 05/16/2012 05:41 PM, Jason Merrill wrote: On 05/16/2012 06:54 AM, Paolo Carlini wrote: isn't the diagnostic machinery able to cope with UNKNOWN_LOCATION? By default should be interpreted as input_location, no? That would make sense to me; I don't know if it works that way now, though.

Re: [google/gcc-4_6_3-mobile] Port r187569 from google/gcc-4_6 branch (issue 6210060)

2012-05-16 Thread shenhan
On 2012/05/16 23:30:28, Diego Novillo wrote: On 12-05-16 19:22 , mailto:jin...@google.com wrote: > In my opinion, gcc/ChangeLog is for upstream commits only. > It is fine that you want to port upstream gcc/ChangeLog as well. Just > remove your identities > +2012-05-11 Han Shen

Re: [google/gcc-4_6_3-mobile] Port r187569 from google/gcc-4_6 branch (issue 6210060)

2012-05-16 Thread Diego Novillo
On 12-05-16 19:22 , jin...@google.com wrote: In my opinion, gcc/ChangeLog is for upstream commits only. It is fine that you want to port upstream gcc/ChangeLog as well. Just remove your identities +2012-05-11 Han Shen + + Backported r187569 from branches/google/gcc-4_6. The convention for bran

Re: [google/gcc-4_6_3-mobile] Port r187569 from google/gcc-4_6 branch (issue 6210060)

2012-05-16 Thread jingyu
In my opinion, gcc/ChangeLog is for upstream commits only. It is fine that you want to port upstream gcc/ChangeLog as well. Just remove your identities +2012-05-11 Han Shen + + Backported r187569 from branches/google/gcc-4_6. LGTM On 2012/05/16 22:54:19, asharif1 wrote: On 2012/05/16 22

[libjava] --enable-symvers tweak for 52700

2012-05-16 Thread Benjamin De Kosnik
Allows use of --enable-symvers=gnu-versioned-namespace while configuring in libjava. The rest of the target libs that use --enable-symvers already handle this. As per libstdc++/52700. Pretty simple, but will wait for OK for trunk/branch tested x86/linux trunk 4_7-branch -benjamin2012-05-16 Be

Re: [PATCH] PR rtl-optimization/53352

2012-05-16 Thread Steven Bosscher
On Thu, May 17, 2012, Meador Inge wrote: >> ;; This is *not* equal to zero because the upper >> ;; two bytes are undefined. >> (insn 14 13 15 2 (set (reg:SI 142) >>         (subreg:SI (reg:QI 141) 0)) >>      (expr_list:REG_EQUAL (const_int 0 [0]) >>         (nil))) Hmm, this is what doc/rtl.texi

Re: [google/gcc-4_6_3-mobile] Port r187569 from google/gcc-4_6 branch (issue 6210060)

2012-05-16 Thread asharif
On 2012/05/16 22:11:08, shenhan wrote: On 2012/05/16 17:27:59, asharif1 wrote: > On 2012/05/16 01:02:26, shenhan wrote: > > Hi Amhad and Jing, could you take a look at this CL at > > http://codereview.appspot.com/6210060/ > > > > Thanks, > > -Han > > Shouldn't this have a corresponding ChangeLog

Re: [PATCH] PR rtl-optimization/53352

2012-05-16 Thread Meador Inge
I meant to CC the RTL optimization maintainers before ... On 05/15/2012 02:39 PM, Meador Inge wrote: > Hi All, > > As reported in PR rtl-optimization/53352 CSE currently trips up on a > paradoxical subreg case. When compiling for ARM GNU/Linux with -O3 > the expanded RTL of interest looks like:

Re: [google/gcc-4_6_3-mobile] Port r187569 from google/gcc-4_6 branch (issue 6210060)

2012-05-16 Thread shenhan
On 2012/05/16 17:27:59, asharif1 wrote: On 2012/05/16 01:02:26, shenhan wrote: > Hi Amhad and Jing, could you take a look at this CL at > http://codereview.appspot.com/6210060/ > > Thanks, > -Han Shouldn't this have a corresponding ChangeLog entry and a ChangeLog.google-gcc-4_6 entry? Hi Ahm

Re: [patch] For alpha-vms, unset flag_jump_tables if flag_pic is nonzero

2012-05-16 Thread Paul_Koning
On May 16, 2012, at 1:27 PM, wrote: > It turns out that there is a second target that doesn't define > ASM_OUTPUT_ADDR_DIFF_ELT: pdp11. I'll fix that. > > The documentation is out of date as a consequence of this patch, because it > still says that ASM_OUTPUT_ADDR_DIFF_ELT is optional whic

Re: [patch] Fix debug info of nested inline functions

2012-05-16 Thread Eric Botcazou
> Right, and that's why we want your change to split the nested function > into abstract and concrete instances. But then it should be fine to > attach the abstract instance to the abstract parent normally, I would > think. Indeed, this works, but I need to use function_possibly_abstracted_p inst

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Lawrence Crowl
On 5/16/12, Tom Tromey wrote: >> "Lawrence" == Lawrence Crowl writes: > > Lawrence> The effect is that it now possible to get useful responses > Lawrence> to gdb command like > Lawrence> (gdb) print DECL_FUNCTION_CODE (decl) > > Doesn't this mean that if you have checking enabled, and you

m32r-rtems libgcc config missing crtinit/fini

2012-05-16 Thread Joel Sherrill
Hi When moving stuff into libgcc, a line for m32r-rtems got lost. This is PR53314. Is this OK for the head and 4.7? 2012-05-16 Joel Sherrill * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o as extra_parts. diff --git a/libgcc/config.host b/libgcc/config.host index 14

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Lawrence Crowl
On 5/16/12, Richard Guenther wrote: > On May 16, 2012 Diego Novillo wrote: > > On 12-05-16 09:00 , Richard Guenther wrote: > > > On May 16, 2012 Diego Novillo wrote: > > > > On 12-05-16 05:41 , Richard Guenther wrote: > > > > > What's the reason for templating these functions? > > > > > They all

Re: [PATCH] Fix get_maxval_strlen for COND_EXPR after changing them to ternary

2012-05-16 Thread Jakub Jelinek
On Wed, May 16, 2012 at 12:34:18PM -0700, Andrew Pinski wrote: > When COND_EXPR was changed from GIMPLE_SINGLE_RHS to > GIMPLE_TERNARY_RHS, get_maxval_strlen was not updated for that > changed. With a patch which has a late PHIOPT produce COND_EXPR, I > saw a couple of regressions (pr23484-chk.c a

[C++ Patch] Produce canonical names for debug info without changing normal pretty-printing (issue6215052)

2012-05-16 Thread Sterling Augustine
This patch adds new flags and defines such that the C++ decl pretty printer prints both canonical dwarf names for decls without perturbing normal error message output. It addresses the issues with the earlier patches submitted as: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00516.html http://gcc

[PATCH] Try to expand COND_EXPR using addcc

2012-05-16 Thread Andrew Pinski
Hi, This is just like my previous patch to expand COND_EXPR using conditional moves but this time using addcc instead. I had to fix a bug in emit_conditional_add where it was swapping op2 and op3 which can never happen. Also the documentation for both emit_conditional_add and add@var{mode}cc was

Ping: [PATCH] Hoist adjacent pointer loads

2012-05-16 Thread William J. Schmidt
Ping. Thanks, Bill On Thu, 2012-05-03 at 09:33 -0500, William J. Schmidt wrote: > This patch was posted for comment back in February during stage 4. It > addresses a performance issue noted in the EEMBC routelookup benchmark > on a common idiom: > > if (...) > x = y->left; > else >

[PATCH] Fix get_maxval_strlen for COND_EXPR after changing them to ternary

2012-05-16 Thread Andrew Pinski
When COND_EXPR was changed from GIMPLE_SINGLE_RHS to GIMPLE_TERNARY_RHS, get_maxval_strlen was not updated for that changed. With a patch which has a late PHIOPT produce COND_EXPR, I saw a couple of regressions (pr23484-chk.c and strncpy-chk.c). This patch fixes get_maxval_strlen for that change

Re: [RFC] PR 53063 encode group options in .opt files

2012-05-16 Thread Joseph S. Myers
On Thu, 17 May 2012, Chung-Lin Tang wrote: > 2012-05-17 Chung-Lin Tang > > * Makefile.in (options.c): Add options.h to included header > files, before tm.h. OK. -- Joseph S. Myers jos...@codesourcery.com

Re: EnabledBy cleanups

2012-05-16 Thread Joseph S. Myers
On Wed, 16 May 2012, Manuel L?pez-Ib??ez wrote: > Some cleanups in preparation for more EnabledBy goodness. > > Bootstrapped and regression tested. > > OK? > > 2012-05-16 Manuel L?pez-Ib??ez > > c-family/ > * c.opt (--pedantic-errors,-pedantic-errors): Do not handle here. >

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Tom Tromey
> "Manuel" == Manuel López-Ibáñez writes: Manuel> It seems it will never work for statement expressions: Manuel> http://article.gmane.org/gmane.comp.gcc.devel/107339 It could be done, but it is non-trivial for sure. Manuel> I see how these small functions can quickly become annoying. Is it

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Tom Tromey
> "Manuel" == Manuel López-Ibáñez writes: Manuel> Actually, I wonder how you (Richard) and other GCC hackers work with Manuel> and debug GCC, because it is a real pain in the ass. Manuel> * All the TREE_ macros don't work. Manuel> * __extension__ prevents GDB from evaluating many things. S

Re: [C++ Patch] PR 44516

2012-05-16 Thread Paolo Carlini
Hi, > On 16 May 2012 19:53, Paolo Carlini wrote: >>> -expr = build_new_op (loc, code, LOOKUP_NORMAL, arg1, arg2, NULL_TREE, >>> +expr = build_new_op (LOC_OR_HERE (loc), code, LOOKUP_NORMAL, >>> + arg1, arg2, NULL_TREE, >>> overload, complain); >>> >>> This doesn't

Re: [C++ Patch] PR 44516

2012-05-16 Thread Jason Merrill
On 05/16/2012 01:15 PM, Manuel López-Ibáñez wrote: My proposal is to assert when checking is enabled (gcc_checking_assert instead of gcc_assert) and degrade gracefully when not (use input_location if given an UNKNOWN_LOCATION). That makes sense if we want to require the front end to move to exp

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Tom Tromey
> "Lawrence" == Lawrence Crowl writes: Lawrence> The effect is that it now possible to get useful responses to gdb Lawrence> command like Lawrence> (gdb) print DECL_FUNCTION_CODE (decl) Doesn't this mean that if you have checking enabled, and you use the wrong macro on some tree, cc1 wil

Re: [C++ Patch] PR 44516

2012-05-16 Thread Manuel López-Ibáñez
On 16 May 2012 19:53, Paolo Carlini wrote: >> -    expr = build_new_op (loc, code, LOOKUP_NORMAL, arg1, arg2, NULL_TREE, >> +    expr = build_new_op (LOC_OR_HERE (loc), code, LOOKUP_NORMAL, >> +             arg1, arg2, NULL_TREE, >>             overload, complain); >> >> This doesn't seem correct

Re: [RFC] PR 53063 encode group options in .opt files

2012-05-16 Thread Manuel López-Ibáñez
On 16 May 2012 19:47, Chung-Lin Tang wrote: > On 2012/5/10 04:53 AM, Manuel López-Ibáñez wrote: >> 2012-05-09  Manuel López-Ibáñez   >> >>       PR 53063 >> gcc/ >>       * doc/options.texi (EnabledBy): Document >>       * opts.c: Include opts.h and options.h before tm.h. >>       (finish_options)

Re: [C++ Patch] PR 44516

2012-05-16 Thread Paolo Carlini
Hi, > > I cannot answer because I don't know what are the defaults. What does > build_min_nt use by default? UNKNOWN_LOCATION. I think this answers most of your concerns. > -expr = build_new_op (loc, code, LOOKUP_NORMAL, arg1, arg2, NULL_TREE, > +expr = build_new_op (LOC_OR_HERE (loc), c

Re: [RFC] PR 53063 encode group options in .opt files

2012-05-16 Thread Chung-Lin Tang
On 2012/5/10 04:53 AM, Manuel López-Ibáñez wrote: > 2012-05-09 Manuel López-Ibáñez > > PR 53063 > gcc/ > * doc/options.texi (EnabledBy): Document > * opts.c: Include opts.h and options.h before tm.h. > (finish_options): Do not handle some sub-options here... > (com

Re: [C++ Patch] PR 44516

2012-05-16 Thread Manuel López-Ibáñez
On 16 May 2012 19:09, Paolo Carlini wrote: > Hi > >> On 16 May 2012 17:41, Jason Merrill wrote: >>> On 05/16/2012 06:54 AM, Paolo Carlini wrote: isn't the diagnostic machinery able to cope with UNKNOWN_LOCATION? By default should be interpreted as input_location, no? >>> >>> >>> Th

Re: [C++ Patch] PR 44516

2012-05-16 Thread Paolo Carlini
Hi again, > In any case, the general rule should be that input_location (or > variants using that) should be only used in the parser (who actually > knows what input_location is pointing at). Other functions should use > a location coming from somewhere else (an argument or a tree). > UNKNOWN_LOCA

Re: [patch] For alpha-vms, unset flag_jump_tables if flag_pic is nonzero

2012-05-16 Thread Paul_Koning
It turns out that there is a second target that doesn't define ASM_OUTPUT_ADDR_DIFF_ELT: pdp11. I'll fix that. The documentation is out of date as a consequence of this patch, because it still says that ASM_OUTPUT_ADDR_DIFF_ELT is optional which is no longer the case (or not unless you take so

Re: [google/gcc-4_6_3-mobile] Port r187569 from google/gcc-4_6 branch (issue 6210060)

2012-05-16 Thread asharif
On 2012/05/16 01:02:26, shenhan wrote: Hi Amhad and Jing, could you take a look at this CL at http://codereview.appspot.com/6210060/ Thanks, -Han Shouldn't this have a corresponding ChangeLog entry and a ChangeLog.google-gcc-4_6 entry? http://codereview.appspot.com/6210060/

Re: [google/google-main] Fix regression - SUBTARGET_EXTRA_SPECS overridden by LINUX_GRTE_EXTRA_SPECS (issue 6016047)

2012-05-16 Thread 沈涵
Hi Jing, thanks! The SUBTARGET_EXTRA_SPECS is defined in config/i386/gnu-user.h In "linux.h", the original value of "SUBTARGET_EXTRA_SPECS" is overwritten by LINUX_GRTE_EXTRA_SPECS, which is not right! Instead, "SUBTARGET_EXTRA_SPECS" and "LINUX_GRTE_EXTRA_SPECS" must be concatenated. For every t

Re: [C++ Patch] PR 44516

2012-05-16 Thread Manuel López-Ibáñez
On 16 May 2012 19:06, Gabriel Dos Reis wrote: > On Wed, May 16, 2012 at 11:56 AM, Manuel López-Ibáñez > wrote: >> On 16 May 2012 17:41, Jason Merrill wrote: >>> On 05/16/2012 06:54 AM, Paolo Carlini wrote: isn't the diagnostic machinery able to cope with UNKNOWN_LOCATION? By defau

Re: Continue strict-volatile-bitfields fixes

2012-05-16 Thread Thomas Schwinge
Hi! Ping. On Wed, 09 May 2012 10:01:55 +0800, I wrote: > On Fri, 27 Apr 2012 10:29:06 +0200, Jakub Jelinek wrote: > > On Fri, Apr 27, 2012 at 12:42:41PM +0800, Thomas Schwinge wrote: > > > > > GET_MODE_BITSIZE (lmode)« (8 bits).  (With the current sources, lmode > > > > > is > > > > > VOIDmode.

EnabledBy cleanups

2012-05-16 Thread Manuel López-Ibáñez
Some cleanups in preparation for more EnabledBy goodness. Bootstrapped and regression tested. OK? 2012-05-16 Manuel López-Ibáñez c-family/ * c.opt (--pedantic-errors,-pedantic-errors): Do not handle here. * c-opts.c (c_common_handle_option): Do not handle explicitly W

Re: [C++ Patch] PR 44516

2012-05-16 Thread Paolo Carlini
Hi > On 16 May 2012 17:41, Jason Merrill wrote: >> On 05/16/2012 06:54 AM, Paolo Carlini wrote: >>> >>> isn't the diagnostic machinery able to cope with UNKNOWN_LOCATION? By >>> default should be interpreted as input_location, no? >> >> >> That would make sense to me; I don't know if it works

Re: [C++ Patch] PR 44516

2012-05-16 Thread Gabriel Dos Reis
On Wed, May 16, 2012 at 11:56 AM, Manuel López-Ibáñez wrote: > On 16 May 2012 17:41, Jason Merrill wrote: >> On 05/16/2012 06:54 AM, Paolo Carlini wrote: >>> >>> isn't the diagnostic machinery able to cope with UNKNOWN_LOCATION? By >>> default should be interpreted as input_location, no? >> >> >>

Re: [C++ Patch] PR 44516

2012-05-16 Thread Manuel López-Ibáñez
On 16 May 2012 17:41, Jason Merrill wrote: > On 05/16/2012 06:54 AM, Paolo Carlini wrote: >> >> isn't the diagnostic machinery able to cope with UNKNOWN_LOCATION? By >> default should be interpreted as input_location, no? > > > That would make sense to me; I don't know if it works that way now, th

Re: [PATCH][ARM] Improve 64-bit shifts (non-NEON)

2012-05-16 Thread Ramana Radhakrishnan
On 16 May 2012 17:09, Andrew Stubbs wrote: > On 16/05/12 11:25, Ramana Radhakrishnan wrote: >> >> Ok with those changes. > > > Hi Ramana, > > Here's an update rebased and modified as requested. > > Can you please confirm that the comments explain what you wanted to know, > and then I will commit i

Re: trans-mem: functions making indirect calls are not transformed (issue6194061)

2012-05-16 Thread Richard Henderson
On 05/15/2012 02:33 PM, Patrick Marlier wrote: 2012-05-15 Dave Boutcher Patrick Marlier * trans-mem.c (ipa_tm_transform_clone): Transform functions with indirect calls. 2012-05-15 Patrick Marlier * gcc.dg/tm/indirect-2.c: New test. Ok for trunk an

Re: [PATCH][ARM] Improve 64-bit shifts (non-NEON)

2012-05-16 Thread Andrew Stubbs
On 16/05/12 11:25, Ramana Radhakrishnan wrote: Ok with those changes. Hi Ramana, Here's an update rebased and modified as requested. Can you please confirm that the comments explain what you wanted to know, and then I will commit it. Thanks Andrew 2012-05-16 Andrew Stubbs gcc/ * con

Re: [C++ Patch] PR 44516

2012-05-16 Thread Jason Merrill
On 05/16/2012 06:54 AM, Paolo Carlini wrote: isn't the diagnostic machinery able to cope with UNKNOWN_LOCATION? By default should be interpreted as input_location, no? That would make sense to me; I don't know if it works that way now, though. @@ -11968,7 +11968,8 @@ tsubst_qualified_id (tree

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Manuel López-Ibáñez
On 16 May 2012 16:02, Richard Guenther wrote: > On Wed, May 16, 2012 at 3:56 PM, Manuel López-Ibáñez > wrote: >> On 16 May 2012 15:40, Richard Guenther wrote: Without that patch displaying happen too late (and eats a lot of Emacs CPU)!! >>> >>> 1) Fix emacs (do not buffer stderr)

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Paolo Bonzini
Il 16/05/2012 15:27, Richard Guenther ha scritto: >> > >> > Two bootstrapped compilers built exactly the same, except one was using the >> > template version, the other using the straight inline functions with >> > const_tree parameters and CONST_CAST_TREE in return values. > That's of course not e

Re: gnu-tm: Dont allow assigning transaction_unsafe functions to transaction_safe function pointers (issue6198054)

2012-05-16 Thread Richard Henderson
On 05/15/2012 02:16 PM, Patrick Marlier wrote: Tested on i686. Is the patch ok? Thanks. BTW, Should we generate a warning or an error? -- 2012-05-15 Patrick Marlier * trans-mem.c (diagnose_tm_1_op): Warn about assignment of transaction unsafe function to safe function pointe

Re: fix install-no-fixedincludes mishaps

2012-05-16 Thread Olivier Hainque
On May 16, 2012, at 17:03 , Paolo Bonzini wrote: > Ok, thanks! Great :-) > All these are regressions, right? Right. > Please commit them to 4.7 branch too. Will do. Thanks for your prompt and constructive feedback, With Kind Regards, Olivier

Re: PING [RFA] PowerPC e5500 and e6500 cores support

2012-05-16 Thread Edmar
Joseph, Thanks for the tip. It is likely I need to re-generate the patch (and re-test) as there had been a lot of activity in the trunk since the original post. I will do this soon. Regards, Edmar On 05/16/2012 11:10 AM, Joseph S. Myers wrote: On Fri, 16 Mar 2012, Edmar wrote: I am pingin

Fix folding through externally keyed vtables

2012-05-16 Thread Jan Hubicka
Hi, currently build of Mozilla with -flto-partition=none fails at: /tmp/ccQ0smdA.ltrans3.ltrans.o:ccQ0smdA.ltrans3.o:function scriptableInvokeDefault(NPObject*, _NPVariant const*, unsigned int, _NPVariant*) [clone .part.84.4761]: error: undefi ned reference to 'construction vtable for std::ostre

Re: PING [RFA] PowerPC e5500 and e6500 cores support

2012-05-16 Thread Joseph S. Myers
On Fri, 16 Mar 2012, Edmar wrote: > I am pinging this post: > > http://gcc.gnu.org/ml/gcc-patches/2012-03/msg00430.html I don't see any sign of anything further having happened with this patch ... you should ping approximately weekly until a patch is reviewed, and probably also CC relevant mai

Re: fix install-no-fixedincludes mishaps

2012-05-16 Thread Paolo Bonzini
Il 16/05/2012 16:46, Olivier Hainque ha scritto: > > On May 16, 2012, at 15:17 , Paolo Bonzini wrote: >> Please indent the comments with a tab and remove the empty lines. > > Sure. > >> Ok with that change. > > Installed, thanks :) > > If I may, we actually hit another install-no-fixedinclu

Re: [libgo] Undefined references to log_syslog.syslog_c on Solaris

2012-05-16 Thread Ian Lance Taylor
Rainer Orth writes: > As of today, all Go link tests were failing like this: > > Undefined first referenced > symbol in file > log_syslog.syslog_c > /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/. > FAIL: go.go-torture/e

Re: [Patch, libgfortran] Pass mode in "open" for O_CREAT and on VxWorks

2012-05-16 Thread rbmj
On 05/16/2012 08:06 AM, rbmj wrote: On 05/16/2012 07:26 AM, Janne Blomqvist wrote: On Wed, May 16, 2012 at 1:03 PM, Tobias Burnus wrote: On 05/16/2012 08:45 AM, Janne Blomqvist wrote: IMHO it would be cleaner if you instead somewhere in the beginning of unix.c did #ifdef __VXWORKS__ /* open

Re: fix install-no-fixedincludes mishaps

2012-05-16 Thread Olivier Hainque
On May 16, 2012, at 15:17 , Paolo Bonzini wrote: > Please indent the comments with a tab and remove the empty lines. Sure. > Ok with that change. Installed, thanks :) If I may, we actually hit another install-no-fixedincludes issue in more recent versions of gcc, after http://gcc.gnu.or

[libgo] Undefined references to log_syslog.syslog_c on Solaris

2012-05-16 Thread Rainer Orth
As of today, all Go link tests were failing like this: Undefined first referenced symbol in file log_syslog.syslog_c /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/. FAIL: go.go-torture/execute/array-1.go compilation,

[PATCH][7/7] Remove mark_symbols_for_renaming

2012-05-16 Thread Richard Guenther
This is it. Yay. Apart from return variable handling the inliner is clean (even that we could clean up, but we're currently re-writing virtual SSA form from the scratch anyway, so the benefit would be minor). This patch saves us one update_stmt call per statement (and update_stmt is not cheap!)

[ping][PATCH] configure.ac: Also quote '$' in tbaseargs

2012-05-16 Thread Maciej W. Rozycki
Hi, Would anyone please have a look at: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00044.html I know this is trivial boring stuff, but perhaps especially because of this let's get rid of it ASAP? Thanks. Maciej

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Richard Guenther
On Wed, May 16, 2012 at 3:56 PM, Manuel López-Ibáñez wrote: > On 16 May 2012 15:40, Richard Guenther wrote: >>> >>> Without that patch displaying happen too late (and eats a lot of Emacs >>> CPU)!! >> >> 1) Fix emacs (do not buffer stderr) >> 2) do not omit -quiet when running from inside emacs

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Manuel López-Ibáñez
On 16 May 2012 15:40, Richard Guenther wrote: >> >> Without that patch displaying happen too late (and eats a lot of Emacs CPU)!! > > 1) Fix emacs (do not buffer stderr) > 2) do not omit -quiet when running from inside emacs Actually, I wonder how you (Richard) and other GCC hackers work with and

Re: [PATCH] ARM/NEON: vld1q_dup_s64 builtin

2012-05-16 Thread Christophe Lyon
On 11.05.2012 16:48, Ramana Radhakrishnan wrote: I would change the iterator from VQX to VQ in the pattern above (you can also simplify the setting of neon_type in that case as well as change that to be a vec_duplicate as below and get rid of any lingering definitions of UNSPEC_VLD1_DUP if they e

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Richard Guenther
On Wed, May 16, 2012 at 3:40 PM, Diego Novillo wrote: > On 12-05-16 09:27 , Richard Guenther wrote: > >>> There's less typing if you use the template variant.  Not sure why >>> you say there is less type safety with templates. >> >> >> Because it accepts any type as tree argument? > > > Yes and no

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Diego Novillo
On 12-05-16 09:27 , Richard Guenther wrote: There's less typing if you use the template variant. Not sure why you say there is less type safety with templates. Because it accepts any type as tree argument? Yes and no. It accepts any type that responds to tree operations and has the same fi

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Richard Guenther
On Wed, May 16, 2012 at 3:38 PM, Basile Starynkevitch wrote: > On Wed, May 16, 2012 at 03:29:12PM +0200, Richard Guenther wrote: >> On Wed, May 16, 2012 at 3:18 PM, Basile Starynkevitch >> wrote: >> > On Wed, May 16, 2012 at 03:02:39PM +0200, Richard Guenther wrote: >> >> On Wed, May 16, 2012 at

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Basile Starynkevitch
On Wed, May 16, 2012 at 03:29:12PM +0200, Richard Guenther wrote: > On Wed, May 16, 2012 at 3:18 PM, Basile Starynkevitch > wrote: > > On Wed, May 16, 2012 at 03:02:39PM +0200, Richard Guenther wrote: > >> On Wed, May 16, 2012 at 2:46 PM, Basile Starynkevitch > >> wrote: > >> > Hello All, > >> >

[PATCH][6/n] Remove mark_symbols_for_renaming

2012-05-16 Thread Richard Guenther
This tackles the remaining caller of mark_symbols_for_renaming, the inliner. Incrementally as it's a mess ;) Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2012-05-16 Richard Guenther * tree-inline.c (insert_init_stmt): Do not call mark_symb

[PATCH] Remove unused weird get_virtual_var

2012-05-16 Thread Richard Guenther
Committed. Richard. 2012-05-16 Richard Guenther * tree-flow.h (get_virtual_var): Remove. * tree-dfa.c (get_virtual_var): Likewise. Index: gcc/tree-flow.h === --- gcc/tree-flow.h (revision 187591) +++ gcc/tre

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Richard Guenther
On Wed, May 16, 2012 at 3:18 PM, Basile Starynkevitch wrote: > On Wed, May 16, 2012 at 03:02:39PM +0200, Richard Guenther wrote: >> On Wed, May 16, 2012 at 2:46 PM, Basile Starynkevitch >> wrote: >> > Hello All, >> > >> > I am pinging the patch >> > http://gcc.gnu.org/ml/gcc-patches/2012-02/msg0

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Richard Guenther
On Wed, May 16, 2012 at 3:16 PM, Diego Novillo wrote: > On 12-05-16 09:00 , Richard Guenther wrote: >> >> On Wed, May 16, 2012 at 2:43 PM, Diego Novillo >>  wrote: >>> >>> On 12-05-16 05:41 , Richard Guenther wrote: >>> What's the reason for templating these functions?  They all take trees >>

[PATCH] Vectorizer TLC

2012-05-16 Thread Richard Guenther
I noticed a write-only bitmap and some odd CFG hooks initializing code. Removed as follows. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2012-05-16 Richard Guenther * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Remove set-only bitm

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Basile Starynkevitch
On Wed, May 16, 2012 at 03:02:39PM +0200, Richard Guenther wrote: > On Wed, May 16, 2012 at 2:46 PM, Basile Starynkevitch > wrote: > > Hello All, > > > > I am pinging the patch > > http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00474.html > > below for trunk svn 187587 --- gcc/toplev.c(rev

Re: fix install-no-fixedincludes mishaps

2012-05-16 Thread Paolo Bonzini
Il 16/05/2012 14:54, Olivier Hainque ha scritto: > + > + install-no-fixedincludes: > + # Stash the current set of headers away, save stamps we're going to alter > + # explicitly, and arrange for fixincludes not to run next time we trigger > + # a headers rebuild. > + > + -rm -rf tmp-include >

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Diego Novillo
On 12-05-16 09:00 , Richard Guenther wrote: On Wed, May 16, 2012 at 2:43 PM, Diego Novillo wrote: On 12-05-16 05:41 , Richard Guenther wrote: What's the reason for templating these functions? They all take trees as parameter!? True. I don't recall what Lawrence had in mind, but I remembe

[PATCH] Fix PR53364

2012-05-16 Thread Richard Guenther
This fixes PR53364 - an oversight in the alias oracle when detecting view-conversions on decls. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk and branch (possibly latent on the 4.6 branch). Richard. 2012-05-16 Richard Guenther PR tree-optimization/53364

Re: PING PATCH: break lines in announce_function

2012-05-16 Thread Richard Guenther
On Wed, May 16, 2012 at 2:46 PM, Basile Starynkevitch wrote: > Hello All, > > I am pinging the patch http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00474.html > below for trunk svn 187587 > # patch > Index: gcc/toplev.c > ==

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Richard Guenther
On Wed, May 16, 2012 at 2:43 PM, Diego Novillo wrote: > On 12-05-16 05:41 , Richard Guenther wrote: > >> What's the reason for templating these functions?  They all take trees as >> parameter!? > > > True.  I don't recall what Lawrence had in mind, but I remember that by > using templates here, yo

Re: fix install-no-fixedincludes mishaps

2012-05-16 Thread Olivier Hainque
Hello Paolo, This is a followup on the exchange we just had about this patch, as part of another thread: http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01093.html Attached is a second version, adjusted to account for the suggestions you made. Looks good ? Thanks for your feedback, With Kind R

Re: [PR tree-optimization/52558]: RFC: questions on store data race

2012-05-16 Thread Richard Guenther
On Mon, 7 May 2012, Aldy Hernandez wrote: > Hi. Sorry for the delay. There were various tricky hiccups along the way to > bootstrappability and regression cleanliness... > > On 04/26/12 04:51, Richard Guenther wrote: > > On Wed, 25 Apr 2012, Aldy Hernandez wrote: > > > > > On 04/25/12 06:45, Ri

[Testsuite,committed] Fix some tests for 16-bit integers

2012-05-16 Thread Georg-Johann Lay
Committed to fix some fallout from testsuite. http://gcc.gnu.org/viewcvs?view=revision&revision=187588 PR testsuite/52641 * gcc.dg/pr52549.c: Fix test for long != void* * gcc.c-torture/execute/pr52979-1.x: New file. * gcc.c-torture/execute/pr52979-2.x: New file.

PING PATCH: break lines in announce_function

2012-05-16 Thread Basile Starynkevitch
Hello All, I am pinging the patch http://gcc.gnu.org/ml/gcc-patches/2012-02/msg00474.html below for trunk svn 187587 # patch Index: gcc/toplev.c === --- gcc/toplev.c(

Re: Turn check macros into functions. (issue6188088)

2012-05-16 Thread Diego Novillo
On 12-05-16 05:41 , Richard Guenther wrote: What's the reason for templating these functions? They all take trees as parameter!? True. I don't recall what Lawrence had in mind, but I remember that by using templates here, you don't need to deal with the mess of distinguishing tree from con

Re: remove TARGET_E500 and factorize SPE defaults computation in powerpc ports

2012-05-16 Thread Sebastian Huber
Hello, since you touch the SPE area would you mind looking at this PR: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47856 -- Sebastian Huber, embedded brains GmbH Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany Phone : +49 89 18 90 80 79-6 Fax : +49 89 18 90 80 79-9 E-Mail : seba

Re: [C++ Patch] PR 44516

2012-05-16 Thread Paolo Carlini
On 05/16/2012 01:25 PM, Paolo Carlini wrote: Thus at this point in our location work I don't believe we can do much (in terms of simple obvious changes) for UNKNOWN_LOCATIONs coming from upstream, besides maybe using the LOC_OR_HERE trick for the immediate error messages (but maybe isn't really

Re: PING: [PATCH] Fix PR53217

2012-05-16 Thread William J. Schmidt
On Wed, 2012-05-16 at 14:05 +0200, Richard Guenther wrote: > On Wed, 16 May 2012, William J. Schmidt wrote: > > > On Wed, 2012-05-16 at 11:45 +0200, Richard Guenther wrote: > > > On Tue, 15 May 2012, William J. Schmidt wrote: > > > > > > > Ping. > > > > > > I don't like it too much - but ponderi

PATCH: Regenerate configure files

2012-05-16 Thread H.J. Lu
Hi, I am checking in this patch to regenerate configure files with the updated libtoo.m4. libjava/libltdl and libgo aren't updated since they have their own version of libtoo.m4. They should be updated separately. H.J. boehm-gc/ 2012-05-16 H.J. Lu * configure: Regenerated. g

Re: [Patch, libgfortran] Pass mode in "open" for O_CREAT and on VxWorks

2012-05-16 Thread rbmj
On 05/16/2012 07:26 AM, Janne Blomqvist wrote: On Wed, May 16, 2012 at 1:03 PM, Tobias Burnus wrote: On 05/16/2012 08:45 AM, Janne Blomqvist wrote: IMHO it would be cleaner if you instead somewhere in the beginning of unix.c did #ifdef __VXWORKS__ /* open is not a variadic function on vxwork

Re: PING: [PATCH] Fix PR53217

2012-05-16 Thread Richard Guenther
On Wed, 16 May 2012, William J. Schmidt wrote: > On Wed, 2012-05-16 at 11:45 +0200, Richard Guenther wrote: > > On Tue, 15 May 2012, William J. Schmidt wrote: > > > > > Ping. > > > > I don't like it too much - but pondering a bit over it I can't find > > a nicer solution. > > > > So, ok. > > >

Re: PING: [PATCH] Fix PR53217

2012-05-16 Thread William J. Schmidt
On Wed, 2012-05-16 at 11:45 +0200, Richard Guenther wrote: > On Tue, 15 May 2012, William J. Schmidt wrote: > > > Ping. > > I don't like it too much - but pondering a bit over it I can't find > a nicer solution. > > So, ok. > > Thanks, > Richard. > Agreed. I'm not fond of it either, and I fee

Re: [C++ Patch] PR 44516

2012-05-16 Thread Paolo Carlini
On 05/16/2012 12:54 PM, Paolo Carlini wrote: I think I was wrong when I indicated that, and that EXPR_LOCATION is better there, too. EXPR_LOC_OR_HERE is good for error messages, but not for setting the location of a tree. Though it occurs to me that we're likely to use the passed in location

Re: [Patch, libgfortran] Pass mode in "open" for O_CREAT and on VxWorks

2012-05-16 Thread Janne Blomqvist
On Wed, May 16, 2012 at 1:03 PM, Tobias Burnus wrote: > Dear Janne, > > > On 05/16/2012 08:45 AM, Janne Blomqvist wrote: >> >> IMHO it would be cleaner if you instead somewhere in the beginning of >> unix.c did >> >> #ifdef __VXWORKS__ >> /* open is not a variadic function on vxworks (or something

Re: [C++ Patch] PR 44516

2012-05-16 Thread Paolo Carlini
Hi, On 05/16/2012 06:02 AM, Jason Merrill wrote: On 05/15/2012 07:56 PM, Paolo Carlini wrote: But, speaking of incremental work: what if, post the build_min_nt_loc chunk, we handle build_min_non_dep and build_min in a case by case way? Thus we keep around the non-_loc variant and gradually repl

Re: ping: Use "sed -n …" instead of "sed s/…/p -e d" in s-header-vars

2012-05-16 Thread Olivier Hainque
On May 16, 2012, at 11:47 , Paolo Bonzini wrote: >> install-no-fixedincludes: installdirs install-host-nogcc \ >> !install-target gcc-install-no-fixedincludes ... > This is missing in the ChangeLog. Indeed. >> + install-no-fixedincludes: \ >> +stash-maybefixed-headers \ >> +stmp-in

Re: [PATCH][ARM] Improve 64-bit shifts (non-NEON)

2012-05-16 Thread Ramana Radhakrishnan
> > extern const struct tune_params *current_tune; > extern int vfp3_const_double_for_fract_bits (rtx); > + > +extern void arm_emit_coreregs_64bit_shift (enum rtx_code, rtx, rtx, rtx, rtx, > +rtx); > #endif /* RTX_CODE */ > #endif /* ! GCC_ARM_PROTOS_H *

  1   2   >