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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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@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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to