This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on scalar replacement


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]