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]

Problem with your new SRA code


It causes Ada not to bootstrap for me anymore.

Compile the Ada front end file cstand.adb and look at the SRA dump for
bin_op_types.  This is an array that's being initialized with a CONSTRUCTOR
and used exactly once, as the prefix of an ARRAY_REF with a variable index.
Because of that reference, this should not have been scalarized at all, but
if it was going to be scalarized, it needed to have been copied back for that
reference. I suspect the VIEW_CONVERT_EXPR is causing the confusion.  This is
the same as a bug that I'd fixed in the original SRA, but both you and I
thought it would not be a problem in the new code.  It looks like we were
both wrong!


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