Two clang tests are failing after the rebranch landed

I'm not sure who should look into this, but the following two clang tests are failing on Fedora 33 (x86-64) now that the rebranch has landed:

FAIL: Clang :: CodeGenObjC/availability-check.m (5620 of 27367)
******************** TEST 'Clang :: CodeGenObjC/availability-check.m' FAILED ********************
Script:
--
: 'RUN: at line 1';   /home/dave/b/u/t/bin/clang -cc1 -internal-isystem /home/dave/b/u/t/lib/clang/12.0.0/include -nostdsysteminc -triple x86_64-apple-macosx10.11 -emit-llvm -o - /home/dave/s/u/llvm-project/clang/test/CodeGenObjC/availability-check.m | /home/dave/b/u/t/bin/FileCheck /home/dave/s/u/llvm-project/clang/test/CodeGenObjC/availability-check.m
--
Exit Code: 1

Command Output (stderr):
--
/home/dave/s/u/llvm-project/clang/test/CodeGenObjC/availability-check.m:30:12: error: CHECK: expected string not found in input
 // CHECK: call i32 @__isOSVersionAtLeast(i32 10, i32 16, i32 0)
           ^
<stdin>:41:12: note: scanning from here
 br i1 true, label %if.then7, label %if.end8
           ^
<stdin>:47:7: note: possible intended match here
 %6 = call i32 @__isPlatformVersionAtLeast(i32 1, i32 10, i32 16, i32 0) #1
      ^

Input file: <stdin>
Check file: /home/dave/s/u/llvm-project/clang/test/CodeGenObjC/availability-check.m

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

Input was:
<<<<<<
            .
            .
            .
           36:
           37: if.then5: ; preds = %if.end4
           38:  br label %if.end6
           39:
           40: if.end6: ; preds = %if.then5, %if.end4
           41:  br i1 true, label %if.then7, label %if.end8
check:30'0                X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           42:
check:30'0     ~
           43: if.then7: ; preds = %if.end6
check:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           44:  br label %if.end8
check:30'0     ~~~~~~~~~~~~~~~~~~
           45:
check:30'0     ~
           46: if.end8: ; preds = %if.then7, %if.end6
check:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           47:  %6 = call i32 @__isPlatformVersionAtLeast(i32 1, i32 10, i32 16, i32 0) #1
check:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:30'1           ?                                                                     possible intended match
           48:  %7 = icmp ne i32 %6, 0
check:30'0     ~~~~~~~~~~~~~~~~~~~~~~~
           49:  br i1 %7, label %if.then9, label %if.end10
check:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           50:
check:30'0     ~
           51: if.then9: ; preds = %if.end8
check:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           52:  br label %if.end10
check:30'0     ~~~~~~~~~~~~~~~~~~~
            .
            .
            .
>>>>>>

--

********************
FAIL: Clang :: Misc/warning-flags.c (7956 of 27367)
******************** TEST 'Clang :: Misc/warning-flags.c' FAILED ********************
Script:
--
: 'RUN: at line 1';   diagtool list-warnings > /home/dave/b/u/t/tools/clang/test/Misc/Output/warning-flags.c.tmp 2>&1
: 'RUN: at line 2';   /home/dave/b/u/t/bin/FileCheck --input-file=/home/dave/b/u/t/tools/clang/test/Misc/Output/warning-flags.c.tmp /home/dave/s/u/llvm-project/clang/test/Misc/warning-flags.c
--
Exit Code: 1

Command Output (stderr):
--
/home/dave/s/u/llvm-project/clang/test/Misc/warning-flags.c:21:8: error: CHECK: expected string not found in input
CHECK: Warnings without flags (68):
       ^
/home/dave/b/u/t/tools/clang/test/Misc/Output/warning-flags.c.tmp:1:1: note: scanning from here
Warnings with flags (1635):
^

Input file: /home/dave/b/u/t/tools/clang/test/Misc/Output/warning-flags.c.tmp
Check file: /home/dave/s/u/llvm-project/clang/test/Misc/warning-flags.c

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

Input was:
<<<<<<
          1: Warnings with flags (1635):
check:21     X~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2:  backslash_newline_space [-Wbackslash-newline-escape]
check:21     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3:  err_func_returning_qualified_void [-Wqualified-void-return-type]
check:21     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4:  escaped_newline_block_comment_end [-Wcomment]
check:21     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5:  ext_abstract_pack_declarator_parens [-Wanonymous-pack-parens]
check:21     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6:  ext_adl_only_template_id [-Wc++20-extensions]
check:21     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          .
          .
          .
>>>>>>

--

********************
********************
Failed Tests (2):
  Clang :: CodeGenObjC/availability-check.m
  Clang :: Misc/warning-flags.c


Hi Dave, I'll take a look.

1 Like
Terms of Service

Privacy Policy

Cookie Policy