[llvm-bugs] [Bug 50040] New: Bogus semantic errors from BuildRuntimeDerivedTypeTables

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 20 08:18:09 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50040

            Bug ID: 50040
           Summary: Bogus semantic errors from
                    BuildRuntimeDerivedTypeTables
           Product: flang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedbugs at nondot.org
          Reporter: andrzej.warzynski at gmail.com
                CC: David.Truby at arm.com, jperier at nvidia.com,
                    kirankumartp at gmail.com, llvm-bugs at lists.llvm.org,
                    sscalpone at nvidia.com

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
https://reviews.llvm.org/D100648 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210420/f25f3b89/attachment.html>


More information about the llvm-bugs mailing list