This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: DECL_RTL problem
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: DECL_RTL problem
- From: Rod Stewart <stewart at dystopia dot lab43 dot org>
- Date: Sun, 18 Mar 2001 18:06:33 -0500 (EST)
- cc: <gcc at gcc dot gnu dot org>
On Sun, 18 Mar 2001, Mark Mitchell wrote:
> Since you say this works on the mainline, do you know of any
> ARM-specific changes on the mainline that might have fixed this?
> Otherwise, we've probably uncovered another latent bug -- which I will
> be trying to solve this afternoon.
All I can think of is Zack's work with the xm-host files and float
changes. I don't recall seeing anything else really arm specific in the
last little while.
> One thing you could try is to replace the uses of `DECL_RTL
> (DECL_RESULT (fndecl))' which `loc' in this section of code. By this
> point, `loc' has already always been set to this value, so this change
> is safe, and probably clearer. Plus, it might allow us to work-around
> the bug. Would you give that a try, and if it works, let me know?
> Meanwhile, I'll look at the underlying bug.
I don't understand what you mean here. Replace with what? Do you mean
get ride of the following from integrate.c:expand_inline_function?
loc = (DECL_RTL_SET_P (DECL_RESULT (fndecl))
? DECL_RTL (DECL_RESULT (fndecl)) : NULL_RTX);
Thanks,
-Rms