<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Bogus semantic errors from BuildRuntimeDerivedTypeTables"
href="https://bugs.llvm.org/show_bug.cgi?id=50040">50040</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Bogus semantic errors from BuildRuntimeDerivedTypeTables
</td>
</tr>
<tr>
<th>Product</th>
<td>flang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>andrzej.warzynski@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>David.Truby@arm.com, jperier@nvidia.com, kirankumartp@gmail.com, llvm-bugs@lists.llvm.org, sscalpone@nvidia.com
</td>
</tr></table>
<p>
<div>
<pre>Fortran::semantics::BuildRuntimeDerivedTypeTables generates bogus semantic
errors. Currently none of the Flang drivers reports them (e.g. via
`semantics.EmitMessages(llvm::errs())`), so this is unnoticed for the end
users. However, this also means that potentially valid semantic errors reported
by BuildRuntimeDerivedTypeTables are ignored. Please see
<a href="https://reviews.llvm.org/D100648">https://reviews.llvm.org/D100648</a> for more context and a reproducer.
This affects 4 regression tests:
* flang/test/Semantics/data05.f90
* flang/test/Semantics/offsets01.f90
* flang/test/Semantics/offsets02.f90
* flang/test/Semantics/typeinfo01.f90
Tested with ToT llvm-project: 24185541ca48bd7ed089a4dbf57bdcb91e290508</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>