This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix wrong assumption in SRA
> Should it not reject these instead?
That's not necessary for Ada (this works fine in our 4.1 and 4.3 based
compiler so far) and would disable SRA for the testcase I've attached.
I think that you have to be careful with integral types because of sign
or zero extension, but this doesn't matter for aggregate types as long as
their fields themselves are correctly represented.
--
Eric Botcazou