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: Wrong RTL instruction deleted


    If I compile the following code with "-O2 -fno-strict-aliasing" and
    GCC 3.4.3, the array bounds are not reloaded from the stack, i.e. the
    case where the array aliases its dope isn't handled correctly (as it
    would have to be if this where C in non-strict aliasing mode).

I believe they aren't reloaded because they are marked as readonly.

But note that this handling of readonly has been removed from GCC 4.0.


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