Re: Research Region Based Memory Management for Imperative Languages

2010-08-26 Thread Ian Lance Taylor
Matt Davis writes: > I am just trying to settle down on my PhD Computer Science dissertation > topic. I want something low-level, compiler related, and more so > useful/practical. I am considering region-based memory management, to show > memory efficiency and safety. For imperative languages,

Guidance needed: hi-level steps to track an object until its destruction

2010-08-26 Thread Jeff Saremi
I'm hoping someone here could take the time to outline what I need to do (i'm not looking for code but if you point me to some i'd appreciate it). I'd like to track an object from the it's created until it's destroyed (in C++). And then see if a certain method of it is called or not. To keep it

Re: Beginner: Declarations do not show up when iterating through Gimple stmts

2010-08-26 Thread Jeff Saremi
well, that explains it nicely. thanks

Research Region Based Memory Management for Imperative Languages

2010-08-26 Thread Matt Davis
Hello, I am just trying to settle down on my PhD Computer Science dissertation topic. I want something low-level, compiler related, and more so useful/practical. I am considering region-based memory management, to show memory efficiency and safety. For imperative languages, such as c, this is ra

Re: Optimization Switches

2010-08-26 Thread Paul Brook
> Hi, > I wish to selectively enable specific optimizations to observe its effect > on the source. My project requires me to do this analysis. It seemed, the > -f* flags would enable me to do that. But it turns out that individual > optimizations can't be enabled like that, and all the optimization

gcc-4.5-20100826 is now available

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

Re: Improving gengtype (for plugin support notably) - how to get a rather big patch accepted?

2010-08-26 Thread Basile Starynkevitch
On Thu, 2010-08-26 at 10:41 -0700, Ian Lance Taylor wrote: > Basile Starynkevitch writes: > > > On Thu, 2010-08-26 at 12:23 +0200, Paolo Bonzini wrote: > >> On 08/24/2010 07:38 PM, Basile Starynkevitch wrote: > >> > (actually, this happened to us before e.g. > >> > http://gcc.gnu.org/ml/gcc-patch

Re: Improving gengtype (for plugin support notably) - how to get a rather big patch accepted?

2010-08-26 Thread Ian Lance Taylor
Basile Starynkevitch writes: > On Thu, 2010-08-26 at 12:23 +0200, Paolo Bonzini wrote: >> On 08/24/2010 07:38 PM, Basile Starynkevitch wrote: >> > (actually, this happened to us before e.g. >> > http://gcc.gnu.org/ml/gcc-patches/2010-06/msg02178.html etc). >> >> Sorry, but that's what happens w

Re: Optimization Switches

2010-08-26 Thread Jonathan Wakely
Would the wiki be clearer if the word "alone" was added? First, individual optimization options alone (-f*) do not enable optimization

Re: Optimization Switches

2010-08-26 Thread Jonathan Wakely
On 26 August 2010 12:56, wrote: > > a) Is there any way to observe the effect of a particular optimization, > without the obvious option of using a lot of -fno switches. > b) And do the -f* switches serve any purpose, if I can't enable individual > optimizations using them. You need an optimisat

Re: Improving gengtype (for plugin support notably) - how to get a rather big patch accepted?

2010-08-26 Thread Basile Starynkevitch
On Thu, 2010-08-26 at 12:23 +0200, Paolo Bonzini wrote: > On 08/24/2010 07:38 PM, Basile Starynkevitch wrote: > > (actually, this happened to us before e.g. > > http://gcc.gnu.org/ml/gcc-patches/2010-06/msg02178.html etc). > > Sorry, but that's what happens when you ignore the maintainers' opinio

Optimization Switches

2010-08-26 Thread sharjeel
Hi, I wish to selectively enable specific optimizations to observe its effect on the source. My project requires me to do this analysis. It seemed, the -f* flags would enable me to do that. But it turns out that individual optimizations can't be enabled like that, and all the optimizations at a spe

Re: Improving gengtype (for plugin support notably) - how to get a rather big patch accepted?

2010-08-26 Thread Paolo Bonzini
On 08/24/2010 07:38 PM, Basile Starynkevitch wrote: (actually, this happened to us before e.g. http://gcc.gnu.org/ml/gcc-patches/2010-06/msg02178.html etc). Sorry, but that's what happens when you ignore the maintainers' opinion. Do not misunderstand me: I'm very interested in your works and

Re: Beginner: Declarations do not show up when iterating through Gimple stmts

2010-08-26 Thread Richard Guenther
On Thu, Aug 26, 2010 at 3:18 AM, Jeff Saremi wrote: > I wanted to go through declarations in a function and print them out so as to > get more familiar with them before being able to manipulate them. > I wrote this function as a plugin; it successfully writes out all statements > but mysteriousl