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] |
Could you please let me know if it is valid to declare an automatic variable inside a for loop.
If yes, is it also allowed in ANSI standard (could you please refer me to the sec #).
Also, in the above example would the number of iterations contribute anything to the stack size since an automatic variable is declared inside the while loop??
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |