Re: out of bounds access in insn-automata.c

2016-03-24 Thread Aldy Hernandez
On 03/23/2016 10:25 AM, Bernd Schmidt wrote: On 03/23/2016 07:32 AM, Aldy Hernandez wrote: int maximal_insn_latency (rtx insn) { int insn_code; if (insn == 0) insn_code = DFA__ADVANCE_CYCLE; else { insn_code = dfa_insn_code (as_a (insn)); if (insn_code > DFA

Re: [gimplefe] [gsoc16] Gimple Front End Project

2016-03-24 Thread Richard Biener
On Thu, Mar 24, 2016 at 12:27 AM, Prasad Ghangal wrote: > Hi! > > I have attached my gsoc proposal, please review it. Let me know if I > have missed or misunderstood anything Please re-word the Abstract, it is really weird to read - I suggest to drop any notion of RTL or "back end" and somehow me

Re: out of bounds access in insn-automata.c

2016-03-24 Thread Bernd Schmidt
On 03/24/2016 11:17 AM, Aldy Hernandez wrote: On 03/23/2016 10:25 AM, Bernd Schmidt wrote: It looks like this block of code is written by a helper function that is really intended for other purposes than for maximal_insn_latency. Might be worth changing to int insn_code = dfa_insn_code (as_a

Re: out of bounds access in insn-automata.c

2016-03-24 Thread Alexander Monakov
Hi, On Thu, 24 Mar 2016, Bernd Schmidt wrote: > On 03/24/2016 11:17 AM, Aldy Hernandez wrote: > > On 03/23/2016 10:25 AM, Bernd Schmidt wrote: > > > It looks like this block of code is written by a helper function that is > > > really intended for other purposes than for maximal_insn_latency. Migh

Re: [gimplefe] [gsoc16] Gimple Front End Project

2016-03-24 Thread David Malcolm
On Thu, 2016-03-24 at 14:31 +0100, Richard Biener wrote: > On Thu, Mar 24, 2016 at 12:27 AM, Prasad Ghangal > wrote: > > Hi! > > > > I have attached my gsoc proposal, please review it. Let me know if > > I > > have missed or misunderstood anything > > Please re-word the Abstract, it is really we

Re: [gimplefe] [gsoc16] Gimple Front End Project

2016-03-24 Thread Richard Biener
On March 24, 2016 6:30:29 PM GMT+01:00, David Malcolm wrote: >On Thu, 2016-03-24 at 14:31 +0100, Richard Biener wrote: >> On Thu, Mar 24, 2016 at 12:27 AM, Prasad Ghangal >> wrote: >> > Hi! >> > >> > I have attached my gsoc proposal, please review it. Let me know if >> > I >> > have missed or m

Re: [gimplefe] [gsoc16] Gimple Front End Project

2016-03-24 Thread Prasad Ghangal
On 24 March 2016 at 19:01, Richard Biener wrote: > On Thu, Mar 24, 2016 at 12:27 AM, Prasad Ghangal > wrote: >> Hi! >> >> I have attached my gsoc proposal, please review it. Let me know if I >> have missed or misunderstood anything > > Please re-word the Abstract, it is really weird to read - I s

Cross-compiler --sysroot discrepancy with default library and include paths

2016-03-24 Thread Bryan Drewery
(Please CC me as I am not subscribed) It seems that when building a cross-compiler with a default --target but no default --with-sysroot, the default -isystem =/usr/include path is not automatically included when using --sysroot but default -L =/lib and -L =/usr/lib are included. (Full example ou

Re: [gimplefe] [gsoc16] Gimple Front End Project

2016-03-24 Thread Prathamesh Kulkarni
On 25 March 2016 at 01:15, Prasad Ghangal wrote: > On 24 March 2016 at 19:01, Richard Biener wrote: >> On Thu, Mar 24, 2016 at 12:27 AM, Prasad Ghangal >> wrote: >>> Hi! >>> >>> I have attached my gsoc proposal, please review it. Let me know if I >>> have missed or misunderstood anything >> >> P

Re: out of bounds access in insn-automata.c

2016-03-24 Thread Aldy Hernandez
On 03/24/2016 10:02 AM, Alexander Monakov wrote: Hi, On Thu, 24 Mar 2016, Bernd Schmidt wrote: On 03/24/2016 11:17 AM, Aldy Hernandez wrote: On 03/23/2016 10:25 AM, Bernd Schmidt wrote: It looks like this block of code is written by a helper function that is really intended for other purposes