This is the mail archive of the gcc-patches@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: [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


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