This is an archive of the discontinued LLVM Phabricator instance.

[flang] Compare component types In AreSameComponent()
ClosedPublic

Authored by klausler on Jul 21 2023, 8:14 AM.

Details

Summary

The subroutine AreSameComponent() of the predicate AreSameDerivedType()
had a TODO about checking component types that needed completion in order
to properly detect that two specific procedures of a generic are
distinguishable in the llvm-test-suite/Fortran/gfortran/regression
test import7.f90.

Diff Detail

Event Timeline

klausler created this revision.Jul 21 2023, 8:14 AM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Jul 21 2023, 8:14 AM
This revision is now accepted and ready to land.Jul 21 2023, 8:33 AM
This revision was automatically updated to reflect the committed changes.

@klausler this commit added a file generic05.f90 when there was already a file in the same directory named generic05.F90. Note the difference f versus F. This causes checkouts on Windows to be unusable, because it has a case-insensitive filesystem.

Please revert this and change the name of the test file before recommitting. Thanks!

Fixed! Thanks for the clear explanation.

From: Paul Robinson via Phabricator <reviews@reviews.llvm.org>
Date: Friday, July 21, 2023 at 14:14
To: Peter Klausler <pklausler@nvidia.com>, clementval@gmail.com <clementval@gmail.com>, Steve Scalpone <sscalpone@nvidia.com>
Cc: jdoerfert@anl.gov <jdoerfert@anl.gov>, flang-commits@lists.llvm.org <flang-commits@lists.llvm.org>, sunshaoce@iscas.ac.cn <sunshaoce@iscas.ac.cn>, everythingfunctional@protonmail.com <everythingfunctional@protonmail.com>, safonsof@amd.com <safonsof@amd.com>, Roger.VilasecaDarne@amd.com <Roger.VilasecaDarne@amd.com>, fruitclover@gmail.com <fruitclover@gmail.com>, vigbalas@amd.com <vigbalas@amd.com>, Renaud Kauffmann <rkauffmann@nvidia.com>, bhuvanendra.kumarn@amd.com <bhuvanendra.kumarn@amd.com>, raghavendhra20061088@gmail.com <raghavendhra20061088@gmail.com>, Peter Steinfeld <psteinfeld@nvidia.com>, aperry@lanl.gov <aperry@lanl.gov>, Jean Perier <jperier@nvidia.com>, tim@tkeith.com <tim@tkeith.com>, Dan.Palermo@amd.com <Dan.Palermo@amd.com>, soutomar@amd.com <soutomar@amd.com>, dominik.adamski@amd.com <dominik.adamski@amd.com>, isuruf@gmail.com <isuruf@gmail.com>, david.truby@arm.com <david.truby@arm.com>, ron.lieberman@amd.com <ron.lieberman@amd.com>, Slava Zakharin <szakharin@nvidia.com>, leandro.lupori@linaro.org <leandro.lupori@linaro.org>, kiranchandramohan@gmail.com <kiranchandramohan@gmail.com>, moll@cs.uni-saarland.de <moll@cs.uni-saarland.de>, Eric Schweitz <eschweitz@nvidia.com>, v.churavy@gmail.com <v.churavy@gmail.com>, michael.hliao@gmail.com <michael.hliao@gmail.com>, tarunprabhu@gmail.com <tarunprabhu@gmail.com>, shivam.gupta2@amd.com <shivam.gupta2@amd.com>
Subject: [PATCH] D155962: [flang] Compare component types In AreSameComponent()
External email: Use caution opening links or attachments

probinson added a comment.

@klausler this commit added a file generic05.f90 when there was already a file in the same directory named generic05.F90. Note the difference f versus F. This causes checkouts on Windows to be unusable, because it has a case-insensitive filesystem.

Please revert this and change the name of the test file before recommitting. Thanks!

Repository:

rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION

https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Freviews.llvm.org%2FD155962%2Fnew%2F&data=05%7C01%7Cpklausler%40nvidia.com%7Cb5630cfede9c4f06894708db8a2f6b45%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638255708623198307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Hn%2FNratbSrBNFOWA%2B0xGsY7vr5Kt38QmE%2BsnoLWDt4g%3D&reserved=0<https://reviews.llvm.org/D155962/new/>

https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Freviews.llvm.org%2FD155962&data=05%7C01%7Cpklausler%40nvidia.com%7Cb5630cfede9c4f06894708db8a2f6b45%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C638255708623198307%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=d5pRcKQ7jJXFWPrlQkXKpy0uAnnHSU1QtluiXvWLjnc%3D&reserved=0https://reviews.llvm.org/D155962