https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122146

FlorianW <flowank at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |---

--- Comment #3 from FlorianW <flowank at gmx dot de> ---
Thanks for the improvement - but GCC compiles to same binary with or without []
as suggested; compilation result still is:

for(u32 l_idx_u32 = 0; l_idx_u32 < f_bytesToSet_u32; l_idx_u32++)
 8000108:       4b08            ldr     r3, [pc, #32]   @ (800012c 
 800010a:       4a09            ldr     r2, [pc, #36]   @ (8000130 
 800010c:       189a            adds    r2, r3, r2
        f_pDestStart_u8[l_idx_u32] = f_valueToSet_u8;
 800010e:       2100            movs    r1, #0
 8000110:       7019            strb    r1, [r3, #0]
    for(u32 l_idx_u32 = 0; l_idx_u32 < f_bytesToSet_u32; l_idx_u32++)
 8000112:       3301            adds    r3, #1
 8000114:       429a            cmp     r2, r3
 8000116:       d1fb            bne.n   8000110 <Application_ResetHandler+0x30>

Reply via email to