http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52921
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Keywords| |wrong-code
Last reconfirmed| |2012-04-10
CC| |burnus at gcc dot gnu.org,
| |pault at gcc dot gnu.org
Ever Confirmed|0 |1
Summary|Memory errors when compiled |With realloc-lhs:
|with -fstrict-overflow flag |Conditional jump or move
| |depends on uninitialised
| |value
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-04-10
11:42:07 UTC ---
I already get the valgrind warning
Conditional jump or move depends on uninitialised value(s)
for
MY_ARR%ARR(I)%CMP = [1, 2]
even without any optimization.
(I replaced the READ by an assignment and marked "i" as VOLATILE.)