Fwd: avr-gcc (compiled from trunk) not placing objects in attributed sections in some cases.

2014-08-04 Thread David Fernandez
Hi there, Not sure if this is generic to any gcc target, or it just happens for avr, given previous mentioned problems with the .data section dissappearing (due to -gc-sections) causing .bss to be resolved to the wrong addresses for avr... Anyway, this is my test case and what happens, which doe

Re: [GSoC] replacing op in c_expr

2014-08-04 Thread Richard Biener
On Sun, Aug 3, 2014 at 6:58 PM, Prathamesh Kulkarni wrote: > On Tue, Jul 29, 2014 at 4:29 PM, Richard Biener > wrote: >> On Mon, Jul 28, 2014 at 10:02 PM, Prathamesh Kulkarni >> wrote: >>> I am having few issues replacing op in c_expr. >>> I thought of following possibilities: >>> >>> a) create

Re: [GSoC] doubts in writing rotate patterns

2014-08-04 Thread Richard Biener
On Sun, Aug 3, 2014 at 10:40 PM, Prathamesh Kulkarni wrote: > This patch adds the following rotate pattern: > ((T) ((T2) X << CNT1)) + ((T) ((T2) X >> CNT2)) iff CNT1 + CNT2 == B > > Depends on the following patch (not yet committed): > https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00128.html

Re: writing patterns

2014-08-04 Thread Richard Biener
On Mon, Aug 4, 2014 at 12:16 AM, Prathamesh Kulkarni wrote: > On Thu, Jul 31, 2014 at 2:49 PM, Prathamesh Kulkarni > wrote: >> On Thu, Jul 31, 2014 at 2:44 PM, Richard Biener >> wrote: >>> On Thu, Jul 31, 2014 at 11:09 AM, Prathamesh Kulkarni >>> wrote: On Thu, Jul 31, 2014 at 2:15 PM, Ric

Re: Build failure for sparc-sun-solaris2.10

2014-08-04 Thread Rainer Orth
Hi Art, >> Could be, see above. Apart from that, I wonder why you insist on using >> GNU ld on Solaris. install.texi strongly suggests to use the Solaris >> linker instead, and I stand by that advise. > >> A couple of comments on those configure options: avoid everything not >> strictly necessar

Ada bootstrap failure

2014-08-04 Thread Martin Jambor
Hi Arnaud and Robert, I have not been able to bootstrap pristine gcc trunk this morning (rev. 213544) with Ada enabled. I have set up a bisecting script which has pointed to revision 213541 as the first failing one (if you use git mirror, it is git commit 54d549ff02e4549ff12977a2c3e71e163cda066a)

Re: Ada bootstrap failure

2014-08-04 Thread Arnaud Charlet
> All the reported errors look like the following two: > > exp_ch4.adb:6502:07: "Check_Float_Op_Overflow" is undefined (more > references follow) > exp_ch4.adb:6852:19: (style) misplaced "then" That does not ring a bell, but this looks like a transient glitch (or some kind of inconsistency). I'd

Re: writing patterns

2014-08-04 Thread Prathamesh Kulkarni
On Mon, Aug 4, 2014 at 2:59 PM, Richard Biener wrote: > On Mon, Aug 4, 2014 at 12:16 AM, Prathamesh Kulkarni > wrote: >> On Thu, Jul 31, 2014 at 2:49 PM, Prathamesh Kulkarni >> wrote: >>> On Thu, Jul 31, 2014 at 2:44 PM, Richard Biener >>> wrote: On Thu, Jul 31, 2014 at 11:09 AM, Prathames

[GNU Tools Cauldron 2014] Unifying GENERIC and GIMPLE folding with pattern description

2014-08-04 Thread Prathamesh Kulkarni
Sorry for the double-post, forgot to set "plain-text" mode. Hi, Please find my note attached for the presentation on "Unifying GENERIC and GIMPLE folding with pattern description" at Cauldron. I would be grateful if you would review it for me. Thanks, Prathamesh. Unifiying GENERIC and GIMPLE

[GNU Tools Cauldron 2014] libgccjit.so

2014-08-04 Thread Prathamesh Kulkarni
Hi, Please find attached my notes on "libgccjit.so - An experimental JIT library using GCC as backend". I would be grateful if you would review it for me. Thanks, Prathamesh libgccjit.so - An experimental JIT library using GCC as backend. Author: David Malcolm libgccjit.so is a thread

[GNU Tools Cauldron 2014] A proposal for type-safe RTL

2014-08-04 Thread Prathamesh Kulkarni
Hi, Please find attached my notes on "A proposal on type-safe RTL". I would be grateful if you would review it for me. Thanks, Prathamesh A proposal for type-safe RTL Author: David Malcolm RTL is a low-level intermediate langauge used in GCC to perform machine-dependent optimziations and

Re: [GNU Tools Cauldron 2014] libgccjit.so

2014-08-04 Thread Iain Buclaw
On 4 August 2014 22:48, Prathamesh Kulkarni wrote: > Hi, >Please find attached my notes on "libgccjit.so - An experimental > JIT library using GCC as backend". I would be grateful if you would > review it for me. > > Thanks, > Prathamesh The library also has bindings to D too, though I don't

[AArch64] Usage of FP regs whe only GP regs are allowed

2014-08-04 Thread Evandro Menezes
I noticed that when -mgeneral-regs-only FP registers are still used by the LRA for spilling. Though in rare cases I saw an ICE because of it, even when it works it seems to me that the compiler should follow the desires of its user. I filed PR 62014 and posted there a patch to address this issue

Re: Reload generate invalid instruction on ppc64

2014-08-04 Thread Carrot Wei
Another problem is in the definition of insn pattern "*movdi_internal64". (define_insn "*movdi_internal64" [(set (match_operand:DI 0 "nonimmediate_operand" "=Y,r,r,r,r,r,?m,?*d,?*d,r,*h,*h,r,?*wg,r,?*wm") (match_operand:DI 1 "input_operand" "r,Y,r,I,L,nF,d,m,d,*h,r,0,*wg,r,*wm,r"))] "T

Mrs Sarah...Waiting

2014-08-04 Thread Mrs Sarah Catherine LEGG
Dear How are you? I have a very Lucrative and Life Changing Business Opportuinity for you. You can also check on my Biography from this link as well ( http://bank.hangseng.com/1/2/about-us/directors-organisation/board-of-directors ). This is my email:sarah.legg...@gmail.com I hope to hear fro

Re: Reload generate invalid instruction on ppc64

2014-08-04 Thread Alan Modra
On Mon, Aug 04, 2014 at 05:54:04PM -0700, Carrot Wei wrote: > Another problem is in the definition of insn pattern "*movdi_internal64". > > (define_insn "*movdi_internal64" > [(set (match_operand:DI 0 "nonimmediate_operand" > "=Y,r,r,r,r,r,?m,?*d,?*d,r,*h,*h,r,?*wg,r,?*wm") > (match_oper

Re: LTO and version scripts

2014-08-04 Thread Alan Modra
On Mon, Jul 07, 2014 at 11:04:17AM +0200, Richard Biener wrote: > On Mon, Jun 30, 2014 at 2:35 PM, Ulrich Drepper wrote: > > Using LTO to create a DSO works fine (i.e., it performs the expected > > optimizations) for symbols which are marked with visibility > > attributes. It does not work, thoug

Re: [GNU Tools Cauldron 2014] libgccjit.so

2014-08-04 Thread Prathamesh Kulkarni
On Tue, Aug 5, 2014 at 3:43 AM, Iain Buclaw wrote: > On 4 August 2014 22:48, Prathamesh Kulkarni > wrote: >> Hi, >>Please find attached my notes on "libgccjit.so - An experimental >> JIT library using GCC as backend". I would be grateful if you would >> review it for me. >> >> Thanks, >> Pra