[PATCH] C undefined behavior fix

David Weinehall tao@acc.umu.se
Thu Jan 10 04:05:00 GMT 2002


On Thu, Jan 10, 2002 at 10:03:42AM +0100, Bernard Dautrevaux wrote:

[snip]

> Of course ordering rules must be obeyed, and side effects cannot be moved
> across sequence points. Thus if the two volatile loads are in separate
> instructions, as in:

[snip]

Sorry, if I'm rude, but is this discussion really going anywhere, and
is it really necessary to have on lkml?! The signal/noise-ratio is low
enough as it is.

Instead of arguing about possible interpretations of the C-standard, why
not do some real C-programming instead...


Regards: David Weinehall
  _                                                                 _
 // David Weinehall <tao@acc.umu.se> /> Northern lights wander      \\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </



More information about the Gcc mailing list