<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:jendas1@gmail.com" title="jendas1@gmail.com">jendas1@gmail.com</a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Pointer to an address returned from function does not correlate to pointer to address in function. This causes access to different place in memory than was expected."
href="http://llvm.org/bugs/show_bug.cgi?id=21596">bug 21596</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Pointer to an address returned from function does not correlate to pointer to address in function. This causes access to different place in memory than was expected."
href="http://llvm.org/bugs/show_bug.cgi?id=21596#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - Pointer to an address returned from function does not correlate to pointer to address in function. This causes access to different place in memory than was expected."
href="http://llvm.org/bugs/show_bug.cgi?id=21596">bug 21596</a>
from <span class="vcard"><a class="email" href="mailto:jendas1@gmail.com" title="jendas1@gmail.com">jendas1@gmail.com</a>
</span></b>
<pre>Yes, the addresses are now the same, but that wasn't the main bug I wanted to
issue. Main problem is that the values in the array are somewhat modified.
(check the first line in the output). When I run this program compiled by
another compiler it works as expected. (All values are 100).
Updated output (LLVM):
Address: 0x100105530
100 100 100
100 100 100
100 100 100
Address: 0x100105530
1070432 1 100
100 100 100
100 100 100</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>