This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem with ssa optimization making an uninitialized variable
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc at gcc dot gnu dot org
- Date: Sat, 19 Jun 04 10:52:05 EDT
- Subject: Problem with ssa optimization making an uninitialized variable
Look at ada/g-socket.adb, line 1083. Note that V4 has its address taken, so
that reference is not an unitialized reference. But I get a warning about it.
If I look at .t25.phiop1, I see:
<L81>:;
v4.1099_135 = v4;
v4.1105_136 = (natural___XDLU_0__2147483647)v4.1099_135;
opt.size = v4.1105_136;
That looks right.
But in .t26.alias, I have:
<L81>:;
v4.1099_135 = v4_131;
v4.1105_136 = (natural___XDLU_0__2147483647)v4.1099_135;
opt.size = v4.1105_136;
That looks wrong with v4_131 undefined.
Where should I look to see what's going on here?