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]

Re: [RFC/PATCH] Standardize on "for (;;)" for unbounded loops


Roger Sayle wrote:
Now that we're back in stage 1, I'd like to (re)propose the following
minor tweak to GCC's coding style.  There are several different ways
of expressing infinite/unbounded loops in C, including the following:

To be frank, I think this particular point of style is so unimportant as not to be worth standardizing. :-) I'm not convinced whether the benefits from making the change are worth the costs of potential merge conflicts, bigger differences from older versions, etc. That said, I'd be perfectly happy with your suggested form, and I'd encourage others to weigh in on the issue of whether or not to standardize on anything, rather than quibbling over which form is best, which seems far too bikeshedish. :-)


--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]