[llvm-bugs] [Bug 46768] New: preprocessor thrown off by continuation in middle of function call argument with $

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 17 16:59:28 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46768

            Bug ID: 46768
           Summary: preprocessor thrown off by continuation in middle of
                    function call argument with $
           Product: flang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedbugs at nondot.org
          Reporter: naromero at anl.gov
                CC: David.Truby at arm.com, jperier at nvidia.com,
                    kirankumartp at gmail.com, llvm-bugs at lists.llvm.org,
                    sscalpone at nvidia.com

Created attachment 23750
  --> https://bugs.llvm.org/attachment.cgi?id=23750&action=edit
Preprocessing failure from NWChem

I am not sure what is throwing the front-end off here. Error shown below. This
codelet is a reduced test case inspired by source code from NWChem, a
Department of Energy science code.

(flake8) [naromero at naromero-desktop bugs]$ ../../llvm-master/bin/flang -c
testpreprocessor.F
testpreprocessor.F:7:8: error: expected execution part construct
        call DGEMM('N',
         ^
in the context: execution part
in the context: main program

It works with pgf90, ifort, and gfortran.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200717/8a7f57aa/attachment.html>


More information about the llvm-bugs mailing list