[Bug c/43360] possible wrong code bug

2010-03-14 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2010-03-14 09:08 --- Confirmed current 4.4 is affected too, -01 works -O2 fails. Reduced test case: int l_5_5_2 = 4; int g_3[1][1]; void func_1 (void) { for (g_3[0][0] = 1; g_3[0][0] 8; g_3[0][0] += 7) { int *l_6 = g_3[0][0];

[Bug c/43360] possible wrong code bug

2010-03-14 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-03-14 15:32 --- Gcc 4.3 also failed. It also failed on Linux/x86-64. -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug c/43360] possible wrong code bug

2010-03-13 Thread sezeroz at gmail dot com
--- Comment #1 from sezeroz at gmail dot com 2010-03-14 06:37 --- gcc-4.4 seems affected, too. -- sezeroz at gmail dot com changed: What|Removed |Added