This is the mail archive of the gcc-patches@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] | |
I confused myself with the example. I meant it to point out that even non-empty C loops can be optimized to empty ones. How about this adjusted wording that leaves it open to when such loops actually get deleted.
! Be aware of this when performing timing tests, for instance the
! following loop can be completely removed, provided
! @code{some_expression} can provably not change any global state.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |