https://bugs.llvm.org/show_bug.cgi?id=47281
Bug ID: 47281
Summary: case statement with macro leads to compile-time error
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 23883
--> https://bugs.llvm.org/attachment.cgi?id=23883&action=edit
case statement with macro from NWChem
This is a reduced test case from NWChem.
gfortran and pgi can compile this reduced test case.
If you comment out these lines:
case (NWXC_DISP_D3)
write (*,*) "hello"
The test case compiles.
Something about the macro + case statement throws the Flang front-end off.
--
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