This is the mail archive of the gcc-bugs@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]

Re: next bug



"volatile" will disable noalias checks in cases like this where code
violates ANSI C alias rules.

Can you construct an ANSI C example showing the same problem?

Is there equivalent code with well defined semantics in Fortran?


It wouldn't be hard to put a test for obviously overlapping addresses
before the mode/struct/varying tests.  That would probably cause this
code to work as the author expected but it wouldn't help the general
case and the results would depend on how CSE chose to construct
addresses (in some situations CSE uses different base registers for
each word of a two word object).



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