Thanks for the report. There is also an LLVM issue tracking this. I commented 
there: 
https://github.com/llvm/llvm-project/issues/157763#issuecomment-3273773003

The test is violating F2023 C15121 that is not properly enforced by flang 
semantics but that lowering now relies on.
Although we will likely improve LEN lowering which would have the side effect 
of working around the segfault in the specific case of 0727_0008, I think we 
will enforce C15121 in a manner that will reject it.

See The LLVM link for more details and suggestion on how to fix the test.

Jean Perier

-----Original Message-----
From: [email protected] <[email protected]>
Sent: Wednesday, September 10, 2025 6:12 AM
To: [email protected]; [email protected]; [email protected]
Cc: [email protected]; Jean Perier <[email protected]>
Subject: [Linaro-TCWG-CI] llvmorg-22-init-6821-ga103b9b207f6: 1 regression on 
aarch64

[You don't often get email from [email protected]. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

External email: Use caution opening links or attachments


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-22-init-6821-ga103b9b207f6
  | Author: jeanPerier <[email protected]>
  | Date:   Mon Sep 8 12:07:37 2025 +0200
  |
  |     [flang][lowering] fix vector subscripts in character elemental 
procedures (#156661)
  |
  |     Fixes https://github.com/llvm/llvm-project/issues/145151
  |
  |     Character elemental procedures require evaluating the result
  | ... 22 lines of the commit log omitted.

Produces 1 regression:
  |
  | regressions.sum:
  | Running test-suite:Fujitsu/Fortran/0727 ...
  | FAIL: test-suite :: Fujitsu/Fortran/0727/Fujitsu-Fortran-0727_0008.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-2088. 
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
 * 
https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O0-debug-build/1378/artifact/artifacts/00-sumfiles/
The full lists of regressions and improvements as well as configure and make 
commands are in
 * 
https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O0-debug-build/1378/artifact/artifacts/notify/
The list of [ignored] baseline and flaky failures are in
 * 
https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O0-debug-build/1378/artifact/artifacts/sumfiles/xfails.xfail

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

Current build   : 
https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O0-debug-build/1378/artifact/artifacts
Reference build : 
https://ci.linaro.org/job/tcwg_flang_test--main-aarch64-O0-debug-build/1377/artifact/artifacts

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

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

Reply via email to