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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to