Skip to content

Instantly share code, notes, and snippets.

@awreece
Created June 4, 2013 03:02
Show Gist options
  • Save awreece/5703282 to your computer and use it in GitHub Desktop.
Save awreece/5703282 to your computer and use it in GitHub Desktop.
===================== done ====================
pass statistics:
method pass_blank :: 0 worked 2 times and failed 0 times
method pass_lines :: 2 worked 69 times and failed 4885 times
method pass_lines :: 2 worked 69 times and failed 4885 times
method pass_lines :: 2 worked 69 times and failed 4885 times
method pass_lines :: 10 worked 273 times and failed 10689 times
method pass_lines :: 10 worked 273 times and failed 10689 times
method pass_lines :: 10 worked 273 times and failed 10689 times
method pass_crc :: worked 6 times and failed 1 times
method pass_ternary :: b worked 1 times and failed 0 times
method pass_ternary :: c worked 1 times and failed 0 times
method pass_balanced :: curly worked 12 times and failed 336 times
method pass_balanced :: curly2 worked 21 times and failed 201 times
method pass_balanced :: curly3 worked 19 times and failed 9 times
method pass_balanced :: parens worked 22 times and failed 334 times
method pass_balanced :: angles worked 1 times and failed 6 times
method pass_balanced :: curly-only worked 13 times and failed 48 times
method pass_balanced :: parens-only worked 43 times and failed 251 times
method pass_balanced :: angles-only worked 1 times and failed 4 times
method pass_clang :: remove-namespace worked 0 times and failed 0 times
method pass_clang :: aggregate-to-scalar worked 10 times and failed 4 times
method pass_clang :: local-to-global worked 8 times and failed 6 times
method pass_clang :: param-to-global worked 41 times and failed 7 times
method pass_clang :: param-to-local worked 3 times and failed 3 times
method pass_clang :: remove-nested-function worked 1 times and failed 3 times
method pass_clang :: rename-fun worked 1 times and failed 0 times
method pass_clang :: union-to-struct worked 6 times and failed 0 times
method pass_clang :: rename-param worked 0 times and failed 0 times
method pass_clang :: rename-var worked 1 times and failed 0 times
method pass_clang :: rename-class worked 0 times and failed 0 times
method pass_clang :: rename-cxx-method worked 0 times and failed 0 times
method pass_clang :: return-void worked 3 times and failed 8 times
method pass_clang :: simple-inliner worked 3 times and failed 4 times
method pass_clang :: reduce-pointer-level worked 16 times and failed 0 times
method pass_clang :: lift-assignment-expr worked 16 times and failed 5 times
method pass_lines :: 0 worked 78 times and failed 2488 times
method pass_lines :: 0 worked 78 times and failed 2488 times
method pass_lines :: 0 worked 78 times and failed 2488 times
method pass_lines :: 1 worked 209 times and failed 8753 times
method pass_lines :: 1 worked 209 times and failed 8753 times
method pass_lines :: 1 worked 209 times and failed 8753 times
method pass_clang :: copy-propagation worked 18 times and failed 10 times
method pass_clang :: callexpr-to-value worked 12 times and failed 22 times
method pass_clang :: replace-callexpr worked 0 times and failed 3 times
method pass_clang :: simplify-callexpr worked 0 times and failed 21 times
method pass_clang :: remove-unused-function worked 22 times and failed 2 times
method pass_clang :: remove-unused-enum-member worked 0 times and failed 0 times
method pass_clang :: remove-enum-member-value worked 0 times and failed 0 times
method pass_clang :: remove-unused-var worked 125 times and failed 0 times
method pass_clang :: simplify-if worked 4 times and failed 4 times
method pass_clang :: reduce-array-dim worked 2 times and failed 0 times
method pass_clang :: reduce-array-size worked 0 times and failed 0 times
method pass_clang :: move-function-body worked 1 times and failed 5 times
method pass_clang :: simplify-comma-expr worked 0 times and failed 0 times
method pass_clang :: simplify-dependent-typedef worked 0 times and failed 0 times
method pass_clang :: replace-simple-typedef worked 0 times and failed 0 times
method pass_clang :: remove-unused-field worked 17 times and failed 0 times
method pass_clang :: reduce-class-template-param worked 0 times and failed 0 times
method pass_clang :: remove-trivial-base-template worked 0 times and failed 0 times
method pass_clang :: class-template-to-class worked 0 times and failed 0 times
method pass_clang :: remove-base-class worked 0 times and failed 0 times
method pass_clang :: replace-derived-class worked 0 times and failed 0 times
method pass_clang :: remove-unresolved-base worked 0 times and failed 0 times
method pass_clang :: remove-ctor-initializer worked 0 times and failed 0 times
method pass_clang :: empty-struct-to-int worked 8 times and failed 0 times
method pass_clang :: remove-pointer worked 0 times and failed 0 times
method pass_clang :: remove-pointer-pairs worked 0 times and failed 0 times
method pass_clang :: remove-array worked 0 times and failed 0 times
method pass_clang :: remove-addr-taken worked 0 times and failed 0 times
method pass_clang :: simplify-struct worked 0 times and failed 0 times
method pass_clang :: replace-undefined-function worked 0 times and failed 0 times
method pass_clang :: replace-array-index-var worked 0 times and failed 0 times
method pass_clang :: combine-global-var worked 1 times and failed 0 times
method pass_clang :: combine-local-var worked 0 times and failed 0 times
method pass_clang :: simplify-struct-union-decl worked 0 times and failed 0 times
method pass_clang :: move-global-var worked 0 times and failed 0 times
method pass_clang :: unify-function-decl worked 0 times and failed 0 times
method pass_peep :: a worked 12 times and failed 389 times
method pass_peep :: b worked 90 times and failed 1450 times
method pass_ints :: a worked 0 times and failed 0 times
method pass_ints :: b worked 0 times and failed 0 times
method pass_ints :: c worked 0 times and failed 0 times
method pass_ints :: d worked 0 times and failed 0 times
method pass_ints :: e worked 0 times and failed 0 times
method pass_indent :: regular worked 4 times and failed 0 times
method pass_indent :: final worked 1 times and failed 0 times
reduced test case:
int a, d;
void
fn1() {
int b[] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1,
0, 0, 0, 0, 0, 1, 0, 1
};
int c = 0;
for (;; c = 1)
if (b[c + a]);
else
for (;;);
}
int
main() {
for (;; d++);
}
elapsed time: 1848 seconds
===== running test 7 in /usr/local/creduce/tests/tmp_test7_NFonR =====
===< 16126 >===
running 8 interestingness test(s) in parallel
test (and sanity check) fails at ../../creduce/creduce line 147.
Makefile file2.c test1.sh test6.sh tmp_test0_z9v8X tmp_test2_O9FOa tmp_test3_Cnguo tmp_test4_PTPu4 tmp_test5_uQUlI tmp_test7_4Bjty
Makefile.am file3.c test2.sh test7.sh tmp_test1_DpXdP tmp_test2_ikpqV tmp_test3_HcTlu tmp_test4_qglfl tmp_test6_43Edc tmp_test7_NFonR
Makefile.in out.txt test3.sh tmp_test0_AR83K tmp_test1_I9oMG tmp_test2_oT6rG tmp_test3_TnpFI tmp_test5_Pukl4 tmp_test6_8exxx tmp_test7_NU1Bf
README run_tests test4.sh tmp_test0_KBge3 tmp_test1_ONv21 tmp_test2_u4sSU tmp_test4_ATCVO tmp_test5_qanHf tmp_test6_Rd99M tmp_test7_VBMQP
file1.c test0.sh test5.sh tmp_test0_V_65X tmp_test1_OeqF2 tmp_test3_2t7VH tmp_test4_JHgqo tmp_test5_sER7w tmp_test6_x4u57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment