[flang-commits] [PATCH] D123520: [flang] Fix UBOUND() folding for constant arrays

Mike K via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Apr 27 10:19:11 PDT 2022


FruitClover added a comment.

Windows buildbot reports fail https://lab.llvm.org/buildbot/#/builders/172/builds/11593 after this patch in `flang\test\Semantics\select-rank.f90`:

  ******************** TEST 'Flang :: Semantics/select-rank.f90' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   "C:\Python310\python.exe" C:\Users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\llvm-project\flang\test\Semantics/test_errors.py C:\Users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\llvm-project\flang\test\Semantics\select-rank.f90 c:\users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\build\bin\flang-new.exe -fc1
  --
  Exit Code: 1
  Command Output (stdout):
  --
  $ ":" "RUN: at line 1"
  $ "C:\Python310\python.exe" "C:\Users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\llvm-project\flang\test\Semantics/test_errors.py" "C:\Users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\llvm-project\flang\test\Semantics\select-rank.f90" "c:\users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\build\bin\flang-new.exe" "-fc1"
  # command output:
  PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
  Stack dump:
  0.	Program arguments: c:\\users\\buildbot-worker\\minipc-ryzen-win\\flang-x86_64-windows\\build\\bin\\flang-new.exe -fc1 -fsyntax-only C:\\Users\\buildbot-worker\\minipc-ryzen-win\\flang-x86_64-windows\\llvm-project\\flang\\test\\Semantics\\select-rank.f90
  #0 0x00007ff786545e9d (c:\users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\build\bin\flang-new.exe+0xfc5e9d)
  #1 0x00007ff786561245 (c:\users\buildbot-worker\minipc-ryzen-win\flang-x86_64-windows\build\bin\flang-new.exe+0xfe1245)
  #2 0x0000000000000068 
  #3 0x0000000000000007 
  error: command failed with exit status: 1
  --
  ********************

but for now I don't understand the root cause yet (no `lbound/ubound` in testcase)
(CC @jeanPerier / @klausler )


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123520/new/

https://reviews.llvm.org/D123520



More information about the flang-commits mailing list