I found a small test case that caused a crash when derived type
definitions have parameters without definitions.
Details
Details
- Reviewers
tskeith klausler DavidTruby jdoerfert - Commits
- rGb6f1bad630fa: [flang] Fixed a crash
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
flang/test/Semantics/resolve33.f90 | ||
---|---|---|
33–38 | This test case is not sufficient to trigger the crash. I need to add the declaration of a variable of the type to do that. |
Comment Actions
- Updating D79282: [flang] Fixed a crash #
- Enter a brief description of the changes included in this update.
- The first line is used as subject, next lines as comment. #
- If you intended to create a new revision, use:
- $ arc diff --create
Added a declaration to make the test case crash the compiler
The declaration of the type wasn't enough to cause the crash. I needed to
declare an object of that type.
This test case is not sufficient to trigger the crash. I need to add the declaration of a variable of the type to do that.