[PATCH] D129891: [test-suite] Update the test suite for changes to -Wint-conversion

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 24 06:24:56 PDT 2022


aaron.ballman added a comment.

In D129891#3674373 <https://reviews.llvm.org/D129891#3674373>, @RKSimon wrote:

> @aaron.ballman It looks like this broke the clang-ppc64-aix buildbot https://lab.llvm.org/buildbot/#/builders/214
>
>   /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/test/sandbox/test-suite/tools/timeit --summary MultiSource/Applications/siod/CMakeFiles/siod.dir/slibu.c.o.time /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/bin/clang -DNDEBUG  -D_XOPEN_SOURCE=700 -O3 -DNDEBUG   -w -Werror=date-time -ffp-contract=off -Wno-implicit-function-declaration -Wno-implicit-int -D__USE_MISC -D__USE_GNU -D__USE_SVID -D__USE_XOPEN_EXTENDED -D__USE_XOPEN -Dunix -MD -MT MultiSource/Applications/siod/CMakeFiles/siod.dir/slibu.c.o -MF MultiSource/Applications/siod/CMakeFiles/siod.dir/slibu.c.o.d -o MultiSource/Applications/siod/CMakeFiles/siod.dir/slibu.c.o   -c /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/test/test-suite/MultiSource/Applications/siod/slibu.c
>   /home/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/test/test-suite/MultiSource/Applications/siod/slibu.c:1799:9: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
>    result = getpass(NULLP(lprompt) ? "" : get_c_string(lprompt));
>           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks for the notice, I've fixed that in f47d83408790e3558e5fdb871ba66996b1b1183d <https://reviews.llvm.org/rTf47d83408790e3558e5fdb871ba66996b1b1183d>; I'll watch the AIX bot to make sure this was the only failure that needs fixing.


Repository:
  rT test-suite

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

https://reviews.llvm.org/D129891



More information about the cfe-commits mailing list