Messages in this thread | | | Date | Wed, 14 Aug 2002 12:41:04 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [patch 4/21] fix ARCH_HAS_PREFETCH |
| |
Rogier Wolff wrote: >> >>Bullsh*t. It can legitimately transform it into: >> >> i = N; > > > Right! But people are confusing "practise", "published interface", and > "spec" again. > > Published interface in this case is that gcc will not optimize an empty > loop away, as it is often used to generate a timing loop. >
Yes. This is a gcc-specific wart, a bad idea from the start, and apparently one which has caught up with them to the point that they've had to abandon it.
-hpa
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |