------- Comment #3 from dberlin at gcc dot gnu dot org  2006-02-21 16:20 -------
Subject: Re:  K+R style function compiled with
        -qipa-pta ICEs

On Tue, 2006-02-21 at 14:05 +0000, pinskia at gcc dot gnu dot org wrote:
> 
> ------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-21 14:05 
> -------
> Confirmed.


So this occurs because the argument doesn't appear in the DECL_ARGUMENTS
list when we have K+R functions (probably because they have no real
parameter lists, or some such)

This is not something I can really fix, it is only something i should be
able to avoid. 

If we can't get the real argument list for a function, we will never be
able to properly process function calls anyway.


Basically, i will make fipa-pta do nothing at all if it sees K + R
functions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26376

Reply via email to