Re: GIMPLE and intent of variables

2011-08-17 Thread grabekm90
Jeff Law wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/16/11 15:35, grabekm90 wrote: > >> How to resolve a problem with pointers (especially arrays)? For >> example, we have a GIMPLE function: >> >> set_a (int * a) {

Re: GIMPLE and intent of variables

2011-08-16 Thread grabekm90
Jeff Law wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/16/11 15:35, grabekm90 wrote: > >> How to resolve a problem with pointers (especially arrays)? For >> example, we have a GIMPLE function: >> >> set_a (int * a) {

GIMPLE and intent of variables

2011-08-16 Thread grabekm90
Hi, I work with a lot of code in C and Fortran. My main task is to select, which of the function parameters and global variables are input (they are only read out), output (they are only written down) or inout (both uses) in the function. I wish GCC internals helped me. Maybe you have better sol