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: unassignedb...@nondot.org
Reporter: narom...@anl.gov
CC: david.tr...@arm.com, jper...@nvidia.com,
kirankuma...@gmail.com, llvm-bugs@lists.llvm.org,
sscalp...@nvidia.com
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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs