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] | |
OK, I may easily extend the loop optimizer to remove empty loops if there is a demand for it (once dce is fixed so that it is not done even in cases it is incorrect, as happens now).
Of course this refers only to finite empty loops; infinite ones cannot be removed, as several people have said. (As a semi-practical matter, you can use these to wait for an external signal from ^C or the like.)
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |