Help About Nested Loop

This is a discussion on Help About Nested Loop within the C Programming forums, part of the General Programming Boards category; Is there any limit on nested loop, say, maximun number of nested layers?
Is there any computer now using 64-bit ...

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell

5.2.4.1 Translation limits
1 The implementation shall be able to translate and execute at least one program that
13)
contains at least one instance of every one of the following limits:
— 127 nesting levels of blocks
— 63 nesting levels of conditional inclusion

Just found from C99 Standard. I believe it means the Standard guarantees just 63 nest levels of loops.

Most 64-bit processor architectures can execute code for the 32-bit version of the architecture natively without any performance penalty. This kind of support is commonly called biarch support or more generally multi-arch support.

Yes, some newer 64-bit compilers, I think. I can't give you an actual example, but a Linux or Mac compiler for 64-bit processors might use 64-bit ints. I can check a 64-bit Debian Linux box that I have access to -- next time I get on it -- for you if you like.

Why are you wondering? Just curious?

Folks are free to create better things. Caveat emptor.

My particular implementation of GCC allows over 3000 levels of indirection, dependent on how much of the stack was taken up by everything else.

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell