[flang-commits] [flang] [flang] Repair recent Power build bot breakage (PR #124950)

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Wed Jan 29 13:09:03 PST 2025


kkwli wrote:

on powerpc64-*-aix:
```
$ $HOME/wrk/f/build-flang-local/bin/llvm-lit -v --param flang_site_config=$HOME/wrk/f/build-flang-local/tools/flang/test/lit.site.cfg.py --param flang_config=$HOME/wrk/f/build-flang-local/tools/flang/test/lit.cfg.py $HOME/llvm-project/flang/test/Semantics/kinds04_q10.f90
-- Testing: 1 tests, 1 workers --
FAIL: Flang :: Semantics/kinds04_q10.f90 (1 of 1)
******************** TEST 'Flang :: Semantics/kinds04_q10.f90' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: not /home/kli/wrk/f/build-flang-local/bin/flang -fc1 /home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90 2>/home/kli/wrk/f/build-flang-local/tools/flang/test/Semantics/Output/kinds04_q10.f90.tmp.stderr
+ not /home/kli/wrk/f/build-flang-local/bin/flang -fc1 /home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90
RUN: at line 2: /home/kli/wrk/f/build-flang-local/bin/FileCheck /home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90 --input-file=/home/kli/wrk/f/build-flang-local/tools/flang/test/Semantics/Output/kinds04_q10.f90.tmp.stderr --check-prefixes="PORTABILITY","WARNING","ERROR","AIX_WARNING"
+ /home/kli/wrk/f/build-flang-local/bin/FileCheck /home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90 --input-file=/home/kli/wrk/f/build-flang-local/tools/flang/test/Semantics/Output/kinds04_q10.f90.tmp.stderr --check-prefixes=PORTABILITY,WARNING,ERROR,AIX_WARNING
/home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90:16:12: error: WARNING: expected string not found in input
 !WARNING: Explicit kind parameter on real constant disagrees with exponent letter 'q'
           ^
/home/kli/wrk/f/build-flang-local/tools/flang/test/Semantics/Output/kinds04_q10.f90.tmp.stderr:26:120: note: scanning from here
/home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90:36:36: warning: underflow on REAL(10) to REAL(8) conversion
                                                                                                                       ^

Input file: /home/kli/wrk/f/build-flang-local/tools/flang/test/Semantics/Output/kinds04_q10.f90.tmp.stderr
Check file: /home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90

-dump-input=help explains the following input dump.

Input was:
<<<<<<
          .
          .
          .
         21:  double precision :: doublevar4 = 4.0D6_8 
         22:  ^^^^^ 
         23: /home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90:33:36: portability: Explicit kind parameter together with non-'E' exponent letter is not standard 
         24:  double precision :: doublevar5 = 4.0Q6_16 
         25:  ^^^^^ 
         26: /home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90:36:36: warning: underflow on REAL(10) to REAL(8) conversion 
check:16                                                                                                                            X error: no match found
         27:  double precision :: doublevar7 = 4.0E6_10 
check:16     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         28:  ^^^^^^^^ 
check:16     ~~~~~~~~~~
         29: /home/kli/llvm-project/flang/test/Semantics/kinds04_q10.f90:39:36: error: Unsupported REAL(KIND=32) 
check:16     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         30:  double precision :: doublevar9 = 4.0E6_32 
check:16     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         31:  ^^^^^ 
check:16     ~~~~~~~
>>>>>>

--

********************
********************
Failed Tests (1):
  Flang :: Semantics/kinds04_q10.f90


Testing Time: 0.41s

Total Discovered Tests: 1
  Failed: 1 (100.00%)
```

https://github.com/llvm/llvm-project/pull/124950


More information about the flang-commits mailing list