Hi,
The tests are incorrect.

The causes are as follows.
The following test cases started to fail after commit 
491f16472b0f08ed72481b671c1470c6de953fa0.
  - Fujitsu/Fortran/0391/Fujitsu-Fortran-0391_0047.test
  - Fujitsu/Fortran/0588/Fujitsu-Fortran-0588_0052.test
Investigation showed that both failures are caused by invalid test code which 
references disassociated pointers.
The LLVM change itself is not the root cause. The change only exposed latent 
problems in the test programs because the result shape of array expressions is 
now determined differently when one operand has a compile-time known shape.

Please ignore the mail. We'll update the test.
We apologize for the false detection.

Best regards,
Yasuyuki Ohno

Software Development Div.,
Advanced Technology Development Unit,
Fujitsu Research, Fujitsu Limited, JAPAN.
________________________________
差出人: [email protected] <[email protected]>
送信日時: 2026年7月30日 21:43
宛先: [email protected] 
<[email protected]>
CC: [email protected] <[email protected]>; 
[email protected] <[email protected]>
件名: [Linaro-TCWG-CI] llvmorg-24-init-1860-g491f16472b0f: 2 regressions on 
aarch64

Dear contributor,

Our automatic CI has detected problems related to your patch(es). Please find 
some details below.

In tcwg_flang_test/main-aarch64-O0-debug, after:
  | commit llvmorg-24-init-1860-g491f16472b0f
  | Author: Caroline Newcombe <[email protected]>
  | Date:   Mon Jul 27 10:48:35 2026 -0400
  |
  |     [flang][hlfir] Prefer a constant-shape operand for elemental array 
results (#209791)
  |
  |     Elemental operands are conformable, so their extents are identical and
  |     the result shape may be taken from either operand. This patch prefers an
  |     operand whose shape is a compile-time constant, producing a statically
  | ... 2 lines of the commit log omitted.

Produces 2 regressions:
  |
  | regressions.sum:
  | Running test-suite:Fujitsu/Fortran/0391 ...
  | FAIL: test-suite :: Fujitsu/Fortran/0391/Fujitsu-Fortran-0391_0047.test
  | Running test-suite:Fujitsu/Fortran/0588 ...
  | FAIL: test-suite :: Fujitsu/Fortran/0588/Fujitsu-Fortran-0588_0052.test
  | # "FAIL" means : the execution of the compiled binary failed / output of 
the binary differs from the expected one

Used configuration :
  * Toolchain : cmake -G Ninja  ../llvm/llvm 
"-DLLVM_ENABLE_PROJECTS=clang;lld;flang;clang-tools-extra"           
"-DLLVM_ENABLE_RUNTIMES=openmp"          -DCMAKE_BUILD_TYPE=Release 
-DLLVM_ENABLE_ASSERTIONS=True          -DCMAKE_INSTALL_PREFIX=../llvm-install   
 "-DLLVM_TARGETS_TO_BUILD=AArch64" -DCLANG_DEFAULT_LINKER=lld
  * Testsuite : export 
LD_LIBRARY_PATH=$\WORKSPACE/llvm-install/lib/aarch64-unknown-linux-gnu$\{LD_LIBRARY_PATH:+:$\LD_LIBRARY_PATH}
 cmake -GNinja    -DCMAKE_C_COMPILER="$\WORKSPACE/llvm-install/bin2/clang"      
   -DCMAKE_CXX_COMPILER="$\WORKSPACE/llvm-install/bin2/clang++"     
-DCMAKE_Fortran_COMPILER="$\WORKSPACE/llvm-install/bin2/flang-new"       
-DCMAKE_BUILD_TYPE=Release       -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= 
-DCMAKE_Fortran_FLAGS=       -DCMAKE_C_FLAGS_RELEASE="-O0 -g"         
-DCMAKE_CXX_FLAGS_RELEASE="-O0 -g"       -DCMAKE_Fortran_FLAGS_RELEASE="-O0 -g" 
        -DTEST_SUITE_FORTRAN=ON -DTEST_SUITE_SUBDIRS=Fujitsu      
"$\WORKSPACE/test/test-suite"

We track this bug report under https://linaro.atlassian.net/browse/LLVM-2256. 
(Require Linaro login) Please let us know if you have a fix.

If you have any questions regarding this report, please ask on 
[email protected] mailing list.

-----------------8<--------------------------8<--------------------------8<--------------------------

The information below contains the details of the failures, and the ways to 
reproduce a debug environment:

You can find the failure logs in *.log.1.xz files in
 * 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-O0-debug-build/builds/10552/archive/artifacts/00-sumfiles/
The full lists of regressions and improvements as well as configure and make 
commands are in
 * 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-O0-debug-build/builds/10552/archive/artifacts/notify/
The list of [ignored] baseline and flaky failures are in
 * 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-O0-debug-build/builds/10552/archive/artifacts/sumfiles/xfails.xfail

Fujitsu testsuite : https://github.com/fujitsu/compiler-test-suite/

Current build   : 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-O0-debug-build/builds/10552/archive/artifacts/
Reference build : 
http://54.172.246.49:9090/jobs/tcwg_flang_test--main-aarch64-O0-debug-build/builds/10551/archive/artifacts/

Instruction to reproduce the build : 
https://gitlab.com/LinaroLtd/tcwg/ci/interesting-commits/-/raw/master/llvm/sha1/491f16472b0f08ed72481b671c1470c6de953fa0/tcwg_flang_test/main-aarch64-O0-debug/reproduction_instructions.txt

Full commit : 
https://github.com/llvm/llvm-project/commit/491f16472b0f08ed72481b671c1470c6de953fa0
_______________________________________________
linaro-toolchain mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to