This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question on scalar replacement
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 13 Jun 2004 10:33:58 -0700
- Subject: Re: Question on scalar replacement
- References: <10406131456.AA28426@vlsi1.ultra.nyu.edu>
On Sun, Jun 13, 2004 at 10:56:20AM -0400, Richard Kenner wrote:
> I'm compiling the Ada RTS file a-colire.adb.
>
> In .t32.sra, I see
>
> Scalar replacements:
> T.47.P_BOUNDS -> SR.196
> FRAME.64.M12b -> SR.198
> T.47.P_ARRAY -> SR.195
>
> The first and last seem OK, but there is no assignment to SR.198 in the
> .t32 file but instead, the assignment
>
> <L10>:;
> FRAME.64.M12b = system__secondary_stack__ss_mark ();
>
> from the .t31 file is still present.
Sounds like a bug. Give us a test case and we can look at it.
> There is no documenation in the front of tree-sra.c (again, I thought that
> such documentation was supposed to be a required criteria for the tree-ssa
> merge), so I can't know what exactly what this optimization is doing wrong.
All functions have comments in front of them. What are you looking for?
r~