Re: How to parse a code snippet at front-end plugin

2010-09-11 Thread Basile Starynkevitch
On Sat, 11 Sep 2010 22:19:06 +0800 (CST) "Thinker K.F. Li" wrote: > Hi, > > I am try to make a plugin to analyze GIMPLE before genericize. It > will insert some code defined by user into the tree. I want the user > to specify the inserted code in C. For example, > > -

Re: Merging Apple's Objective-C 2.0 compiler changes

2010-09-11 Thread Ralf Wildenhues
* Richard Kenner wrote on Sun, Sep 12, 2010 at 12:17:47AM CEST: > > > It's my understanding that FSF legal department has consistently refused > > > to answer such questions as this. > > > > Do you have a quote for that, please? > > How do you quote somebody who DOESN'T answer? I've asked for yo

Re: Merging Apple's Objective-C 2.0 compiler changes

2010-09-11 Thread Dave Korn
On 11/09/2010 23:17, Richard Kenner wrote: >>> It's my understanding that FSF legal department has consistently refused >>> to answer such questions as this. >> Do you have a quote for that, please? > > How do you quote somebody who DOESN'T answer? By using a null string, of course! cheers

Re: question on points-to analysis

2010-09-11 Thread Amker.Cheng
> In theory, this is true, but a lot of the optimizations decrease > accuracy at a cost of making the problem solvable in a reasonable > amount of time. > By performing it after building initial points-to sets, the amount of > accuracy loss is incredibly small. > The only type of constraint that wi

Re: question on points-to analysis

2010-09-11 Thread Daniel Berlin
On Thu, Sep 9, 2010 at 7:24 AM, Richard Guenther wrote: > On Thu, Sep 9, 2010 at 1:19 PM, Amker.Cheng wrote: >> Hi, >> I am studying gcc's points-to analysis right now and encountered a question. >> In paper "Off-line Variable Substitution for Scaling Points-to >> Analysis", section 3.2 >> It says

Re: Merging Apple's Objective-C 2.0 compiler changes

2010-09-11 Thread Jack Howarth
On Sat, Sep 11, 2010 at 06:17:47PM -0400, Richard Kenner wrote: > > > It's my understanding that FSF legal department has consistently refused > > > to answer such questions as this. > > > > Do you have a quote for that, please? > > How do you quote somebody who DOESN'T answer? > > The FSF has c

How to parse a code snippet at front-end plugin

2010-09-11 Thread Thinker K.F. Li
Hi, I am try to make a plugin to analyze GIMPLE before genericize. It will insert some code defined by user into the tree. I want the user to specify the inserted code in C. For example, -- { static int i=0; printf("Hello %d\n",

gcc-4.6-20100911 is now available

2010-09-11 Thread gccadmin
Snapshot gcc-4.6-20100911 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20100911/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

Re: Merging Apple's Objective-C 2.0 compiler changes

2010-09-11 Thread Richard Kenner
> > It's my understanding that FSF legal department has consistently refused > > to answer such questions as this. > > Do you have a quote for that, please? How do you quote somebody who DOESN'T answer? The FSF has consistently refused to answer questions of the form "if I did XYZ, would it viol

Re: Merging Apple's Objective-C 2.0 compiler changes

2010-09-11 Thread Ralf Wildenhues
* Richard Kenner wrote on Sat, Sep 11, 2010 at 11:01:56PM CEST: > > Please ask the FSF legal dept. to clarify the situation once and for > > all, they should be able to provide you with a binding (as for GCC) > > answer within a short time frame. > > It's my understanding that FSF legal departme

Re: Merging Apple's Objective-C 2.0 compiler changes

2010-09-11 Thread Richard Kenner
> Please ask the FSF legal dept. to clarify the situation once and for > all, they should be able to provide you with a binding (as for GCC) > answer within a short time frame. It's my understanding that FSF legal department has consistently refused to answer such questions as this.

Get of them. Jefferies had heard

2010-09-11 Thread O'Conner Still
Fice of cook, the duties of which he was far better able to perform than any of the English. The French lieutenant seemed the most cast-down of any of the party. He sat by himself not speaking to any one, and with an air of discontent, put away the food which was brought to him. "The poor lieutena

Re: Merging Apple's Objective-C 2.0 compiler changes

2010-09-11 Thread Ralf Wildenhues
Hello, * Richard Kenner wrote on Sat, Sep 11, 2010 at 01:18:10PM CEST: > > That means, we at our option can choose to release under GPL v3, > > exclusively, if we wanted. > > I disagree, as I said. > > My interpretation of that sentence is that "when you redistribute > this, you must give the p

Re: RFH: optabs code in the java front end

2010-09-11 Thread Joseph S. Myers
On Sat, 11 Sep 2010, Andrew Haley wrote: > The test tells us whether the back-end has atomic builtins. If it doesn't > then we generate calls to the libgcj back end. I really don't want gcj > to generate calls to nonexistent __compare_and_swap_4 or somesuch. Maybe not to nonexistent functions,

Re: RFH: optabs code in the java front end

2010-09-11 Thread Steven Bosscher
On Sat, Sep 11, 2010 at 8:48 PM, Andrew Haley wrote: > On 09/10/2010 11:50 PM, Steven Bosscher wrote: > >> There is just one front-end file left that still has to #undef >> IN_GCC_FRONTEND, allowing the front end to include RTL headers. The >> one remaining file is java/builtins.c. >> >> In java/b

Re: RFH: optabs code in the java front end

2010-09-11 Thread Andrew Haley
On 09/10/2010 11:50 PM, Steven Bosscher wrote: > There is just one front-end file left that still has to #undef > IN_GCC_FRONTEND, allowing the front end to include RTL headers. The > one remaining file is java/builtins.c. > > In java/builtins.c there are (what appear to be) functions that > gene

Re: 'Range-based for' support for gcc

2010-09-11 Thread Paolo Carlini
On 09/11/2010 08:08 PM, Flex Ferrum wrote: > for (auto i: {1, 2, 3, 4, 5}) > { > std::cout << i << " "; > } > It works fine already, see also the new testcase range-for6.C. Unless you mean something else entirely and I'm not getting your point... Paolo.

'Range-based for' support for gcc

2010-09-11 Thread Flex Ferrum
Hello. It is a great effort to implement 'range-based for' in gcc 4.6. But it could be interesting for you what recent C++0x standard draft (N3126) contains some significant change for this feature: --- begin quote -- 6.5.4 The range-based for statement [stmt.ranged] 1 The For a rang

Re: Merging Apple's Objective-C 2.0 compiler changes

2010-09-11 Thread Richard Kenner
> Well, the words on their distribution say exactly this: > > GCC is free software; you can redistribute it and/or modify it under > the terms of the GNU General Public License as published by the Free > Software Foundation; either version 2, or (at your option) any later > version. > >

RE: internal compiler error: in referenced_var_lookup, at tree-dfa.c

2010-09-11 Thread Jay K
arg..well, I had replaced xmalloc with alloca, leading to some of the garbage below, but I am indeed still running afoul of the garbage collector. I don't know if that is my original problem but I should probably fix this first.  ie: now that I'm using -enable-checking, and I think it collects e

RE: internal compiler error: in referenced_var_lookup, at tree-dfa.c

2010-09-11 Thread Jay K
> I kind of suspect it might be a type mismatch, overwriting part of a tree node configure -enable-checking: ?"Bmr?: In function 'FPrint__xCombine': `?"Bmr?:13:0: internal compiler error: tree check: expected ssa_name, have var_decl in copy_phis_for_bb, at tree-inline.c:1950 and some other pro

Re: [RFC] Full float128, third iteration

2010-09-11 Thread Ralf Wildenhues
* FX wrote on Fri, Sep 10, 2010 at 07:08:10PM CEST: > I'm CC'ing the gcc list so I can get insight from people who > understand correctly how static libraries should be handled by the > driver... > > > I'm seeing a similar issue with -static linkage. > > > > % gfc4x -o z norm2_3.f90 -L/usr/home/s

Re: [RFC] Full float128, third iteration

2010-09-11 Thread Angelo Graziosi
Il 11/09/2010 1.42, Steve Kargl ha scritto: On Sat, Sep 11, 2010 at 01:05:23AM +0200, Angelo Graziosi wrote: Il 10/09/2010 19.31, Steve Kargl ha scritto: The ideal solution would be incorporating libquad into libgfortran The ideal solution would be building GCC enabling QP with ./configure..