Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cvise for openSUSE:Factory checked in at 2021-03-17 20:17:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cvise (Old) and /work/SRC/openSUSE:Factory/.cvise.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cvise" Wed Mar 17 20:17:09 2021 rev:28 rq:879705 version:2.3.0+git.20210317.2713400 Changes: -------- --- /work/SRC/openSUSE:Factory/cvise/cvise.changes 2021-03-10 08:58:19.370955098 +0100 +++ /work/SRC/openSUSE:Factory/.cvise.new.2401/cvise.changes 2021-03-17 20:20:16.835344228 +0100 @@ -1,0 +2,10 @@ +Wed Mar 17 14:43:58 UTC 2021 - [email protected] + +- Update to version 2.3.0+git.20210317.2713400: + * Mention that it can be install on Ubuntu. + * Run Lines pass 8x in delta.json pass. + * Add link to GitHub Actions. + * Fix typo. + * Fix SimpleInliner pass for alias functions. + +------------------------------------------------------------------- Old: ---- cvise-2.3.0+git.20210309.0a14640.tar.xz New: ---- cvise-2.3.0+git.20210317.2713400.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cvise.spec ++++++ --- /var/tmp/diff_new_pack.Tn7jG9/_old 2021-03-17 20:20:17.527345174 +0100 +++ /var/tmp/diff_new_pack.Tn7jG9/_new 2021-03-17 20:20:17.527345174 +0100 @@ -17,7 +17,7 @@ Name: cvise -Version: 2.3.0+git.20210309.0a14640 +Version: 2.3.0+git.20210317.2713400 Release: 0 Summary: Super-parallel Python port of the C-Reduce License: BSD-3-Clause ++++++ cvise-2.3.0+git.20210309.0a14640.tar.xz -> cvise-2.3.0+git.20210317.2713400.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210309.0a14640/INSTALL.md new/cvise-2.3.0+git.20210317.2713400/INSTALL.md --- old/cvise-2.3.0+git.20210309.0a14640/INSTALL.md 2021-03-09 10:47:27.000000000 +0100 +++ new/cvise-2.3.0+git.20210317.2713400/INSTALL.md 2021-03-17 10:42:32.000000000 +0100 @@ -11,6 +11,12 @@ zypper in cvise ``` +### Ubuntu + +```shell +apt-get install cvise +``` + ### Gentoo Linux ```shell diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210309.0a14640/README.md new/cvise-2.3.0+git.20210317.2713400/README.md --- old/cvise-2.3.0+git.20210309.0a14640/README.md 2021-03-09 10:47:27.000000000 +0100 +++ new/cvise-2.3.0+git.20210317.2713400/README.md 2021-03-17 10:42:32.000000000 +0100 @@ -1,7 +1,7 @@ # C-Vise [](https://build.opensuse.org/package/show/home:marxin:cvise-github/cvise) - +[](https://github.com/marxin/cvise/actions) [](https://lgtm.com/projects/g/marxin/cvise/alerts/) [](https://lgtm.com/projects/g/marxin/cvise/context:python) [](https://lgtm.com/projects/g/marxin/cvise/context:cpp) @@ -29,7 +29,7 @@ If you need to reduce programs in some other language, please give it a try. -*NOTE:*: Binary passes (`--pass-group=binary`) contains an experimental pass +*NOTE:*: Binary pass group (`--pass-group=binary`) contains an experimental pass that can reduce GCC's `.gcda` files. ## Speed Comparison diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210309.0a14640/clang_delta/CMakeLists.txt new/cvise-2.3.0+git.20210317.2713400/clang_delta/CMakeLists.txt --- old/cvise-2.3.0+git.20210309.0a14640/clang_delta/CMakeLists.txt 2021-03-09 10:47:27.000000000 +0100 +++ new/cvise-2.3.0+git.20210317.2713400/clang_delta/CMakeLists.txt 2021-03-17 10:42:32.000000000 +0100 @@ -341,6 +341,8 @@ "/tests/union-to-struct/union2.output" "/tests/union-to-struct/union3.c" "/tests/union-to-struct/union3.output" + "/tests/simple-inliner/alias-crash.c" + "/tests/simple-inliner/alias-crash.output" ) foreach(file IN LISTS SOURCE_FILES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210309.0a14640/clang_delta/SimpleInliner.cpp new/cvise-2.3.0+git.20210317.2713400/clang_delta/SimpleInliner.cpp --- old/cvise-2.3.0+git.20210309.0a14640/clang_delta/SimpleInliner.cpp 2021-03-09 10:47:27.000000000 +0100 +++ new/cvise-2.3.0+git.20210317.2713400/clang_delta/SimpleInliner.cpp 2021-03-17 10:42:32.000000000 +0100 @@ -211,7 +211,8 @@ bool SimpleInlinerFunctionStmtVisitor::VisitFunctionDecl(FunctionDecl *FD) { if (ConsumerInstance->isInIncludedFile(FD) || - !FD->isThisDeclarationADefinition()) + !FD->isThisDeclarationADefinition() || + FD->hasDefiningAttr ()) return true; if (FD->getBeginLoc().isInvalid() || FD->getEndLoc().isInvalid()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210309.0a14640/clang_delta/tests/simple-inliner/alias-crash.c new/cvise-2.3.0+git.20210317.2713400/clang_delta/tests/simple-inliner/alias-crash.c --- old/cvise-2.3.0+git.20210309.0a14640/clang_delta/tests/simple-inliner/alias-crash.c 1970-01-01 01:00:00.000000000 +0100 +++ new/cvise-2.3.0+git.20210317.2713400/clang_delta/tests/simple-inliner/alias-crash.c 2021-03-17 10:42:32.000000000 +0100 @@ -0,0 +1,9 @@ +a[6]; +b; +c() __attribute__((alias("func_53"))); +d() { c(); } +func_53() { + for (;; b--) return; +} +e; +main() { d(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210309.0a14640/clang_delta/tests/simple-inliner/alias-crash.output new/cvise-2.3.0+git.20210317.2713400/clang_delta/tests/simple-inliner/alias-crash.output --- old/cvise-2.3.0+git.20210309.0a14640/clang_delta/tests/simple-inliner/alias-crash.output 1970-01-01 01:00:00.000000000 +0100 +++ new/cvise-2.3.0+git.20210317.2713400/clang_delta/tests/simple-inliner/alias-crash.output 2021-03-17 10:42:32.000000000 +0100 @@ -0,0 +1,12 @@ +a[6]; +b; +c() __attribute__((alias("func_53"))); + +func_53() { + for (;; b--) return; +} +e; +main() { +int __trans_tmp_1; { c(); } + +__trans_tmp_1; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210309.0a14640/clang_delta/tests/test_clang_delta.py new/cvise-2.3.0+git.20210317.2713400/clang_delta/tests/test_clang_delta.py --- old/cvise-2.3.0+git.20210309.0a14640/clang_delta/tests/test_clang_delta.py 2021-03-09 10:47:27.000000000 +0100 +++ new/cvise-2.3.0+git.20210317.2713400/clang_delta/tests/test_clang_delta.py 2021-03-17 10:42:32.000000000 +0100 @@ -540,3 +540,6 @@ run = subprocess.run(cmd, shell=True, encoding='utf8', stderr=subprocess.PIPE, stdout=subprocess.PIPE) assert 'Available transformation instances: 1' in run.stderr assert 'Warning: number of transformation instances exceeded' in run.stderr + + def test_simple_inliner_alias(self): + self.check_clang_delta('simple-inliner/alias-crash.c', '--transformation=simple-inliner --counter=1') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cvise-2.3.0+git.20210309.0a14640/cvise/pass_groups/delta.json new/cvise-2.3.0+git.20210317.2713400/cvise/pass_groups/delta.json --- old/cvise-2.3.0+git.20210309.0a14640/cvise/pass_groups/delta.json 2021-03-09 10:47:27.000000000 +0100 +++ new/cvise-2.3.0+git.20210317.2713400/cvise/pass_groups/delta.json 2021-03-17 10:42:32.000000000 +0100 @@ -1,4 +1,11 @@ { "first": [ + {"pass": "lines", "arg": "None" }, + {"pass": "lines", "arg": "None" }, + {"pass": "lines", "arg": "None" }, + {"pass": "lines", "arg": "None" }, + {"pass": "lines", "arg": "None" }, + {"pass": "lines", "arg": "None" }, + {"pass": "lines", "arg": "None" }, {"pass": "lines", "arg": "None" } ], "main": [
