<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - __attribute__((noreturn)) corrupts instruction pointer on method call"
href="http://llvm.org/bugs/show_bug.cgi?id=16649">16649</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>__attribute__((noreturn)) corrupts instruction pointer on method call
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aboeckma@mpi-bremen.de
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=10894" name="attach_10894" title="Minimal example to reproduce the bug">attachment 10894</a> <a href="attachment.cgi?id=10894&action=edit" title="Minimal example to reproduce the bug">[details]</a></span>
Minimal example to reproduce the bug
Steps to reproduce:
Download the attached minimal example and compile with:
$ clang++ -c -g -MMD -MP -MF main.o.d -o main.o main.cpp
$ clang++ -o test main.o
Execute the executable.
Expected output:
foo
3
Actual output:
foo
4
If__attribute__((noreturn)) is removed the output is as expected.</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>