Skip to content

ASSERT_PARALLEL_CALLBACKS broken with LFortran #68

@bonachea

Description

@bonachea

Demonstration using Assert 3.0.0 and LFortran 0.54.0 on x64_64 Linux:

fpm run --example false-assertion --compiler lfortran --verbose --flag '--cpp -DASSERTIONS -DASSERT_PARALLEL_CALLBACKS -DASSERT_MULTI_IMAGE'
 <INFO> BUILD_NAME: build/lfortran
 <INFO> COMPILER:  lfortran
 <INFO> C COMPILER:  cc
 <INFO> CXX COMPILER: cc
 <INFO> COMPILER OPTIONS:   --cpp -DASSERTIONS -DASSERT_PARALLEL_CALLBACKS -DASSERT_MULTI_IMAGE
 <INFO> C COMPILER OPTIONS:  
 <INFO> CXX COMPILER OPTIONS: 
 <INFO> LINKER OPTIONS:  
 <INFO> INCLUDE DIRECTORIES:  [././include]
[  0%]            false-assertion.F90
 + lfortran -c example/false-assertion.F90   --cpp -DASSERTIONS -DASSERT_PARALLEL_CALLBACKS -DASSERT_MULTI_IMAGE -I././include -J build/lfortran_4B9CC7ABAF553C05 -Ibuild/lfortran_4B9CC7ABAF553C05 -o build/lfortran_4B9CC7ABAF553C05/assert/example_false-assertion.F90.o
code generation error: Function code not generated for 'assert_this_image_interface'


Note: Please report unclear, confusing or incorrect messages as bugs at
https://github.com/lfortran/lfortran/issues.
[ 16%]            false-assertion.F90  done.

code generation error: Function code not generated for 'assert_this_image_interface'


Note: Please report unclear, confusing or incorrect messages as bugs at
https://github.com/lfortran/lfortran/issues.
<ERROR> Compilation failed for object " example_false-assertion.F90.o "
<ERROR> stopping due to failed compilation
STOP 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions