ur not suggesting that "proper code has been generated" are you ? If one does not know anything about the proper results, then one might think that the bogus answer is just as good as the right answer.
Gee, I can just imagine the frustration computational 'mad' scientists have with answers that go mysteriously awry.
Any way -- is it or is it not a violation of the "strict aliasing" . And how does a user know. Docs seem to be vague. Concept seems to be vague and the compiler does its majic in silence.
Pawel Salek wrote:
On 2001-04-18 17:13 Uncle George wrote:
> Any compiler that does not produce the correct code has a bug - baring
> any error messages.
>
> I suppose one has to deceide if an error message should be produced
> OR proper code should be produced.So, proper code has been generated because ISO C allows that. Full stop.