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: module level flags


<<In the original code, the type-based aliasing rules permit the
compiler to assume that assignment to ppT does not modify list
EVEN THOUGH IT IS OBVIOUS TO A HUMAN THAT IT DOES.
>>


Zack, as far as I can tell, the compiler was not only "working as designed",
but is in fact correctly implementing the language. A human may think
that this code should work, but that just comes from not knowing the language
properly. A lot of people have a low level semantic model that unfortunately
does not correspond to the actual semantics.

I know you know this, but the wording of your message could still leave
the impression that the compiler was somehow malfunctoining, which is
not the case.


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