https://bugs.llvm.org/show_bug.cgi?id=46334
Bug ID: 46334
Summary: Equivalence statement broken for integer case
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]
Created attachment 23617
--> https://bugs.llvm.org/attachment.cgi?id=23617&action=edit
integer equivalence test case from NWChem
This is a reduced test case from the DOE NWChem code.
[naromero@naromero-desktop bugs]$ pgf90 -o testequivalence.x -i8
testequivalence.f
[naromero@naromero-desktop bugs]$ ./testequivalence.x
size of longw 8
size of shortw 8
FORTRAN STOP
[naromero@naromero-desktop bugs]$ f18 -o testequivalence.x -i8
testequivalence.f
testequivalence.f:4:26: error: Equivalence set cannot contain 'longw' that is
numeric sequence type and 'shortw' that is not
equivalence (longw,shortw)
^^^^^^
f18: semantic errors in testequivalence.f
It looks like there was a bugzilla issue on equivalence already:
https://bugs.llvm.org/show_bug.cgi?id=1971
but it might have been fixed with a suboptimal hack.
--
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