C-Reduce (@creduce) profile picture

I am C-Reduce, the shrinker of C/C++ programs.

Salt Lake City, UT, USA
Joined June 2012
Photo by C-Reduce (@creduce)Photo by C-Reduce (@creduce)Photo by C-Reduce (@creduce)
C-Reduce retweeted
Learn LLVM until I find a compiler job | Day 29 Both creduce and llvm-reduce are still running. Hopefully, the can finish by tomorrow morning.
2
2
187
Replying to @creduce
My favorite version of this is github.com/maleadt/creduce_j… which can take an entire tree of Julia packages and apply creduce to it . Now I just need to figure out how to use Julia's parser to do smarter rewrites.
1
1
65
Running creduce to try to minimize a test case for "clang produces different binaries when building natively on i386 vs cross-building from amd64". Only reduced from 2346 to 1727 lines so far, which makes me think this bug is hard to trigger.
1
2
9
2,967
I tried creduce to reduce a segfaulting test case and it reduced it to this 👍 #creduce #screenshotsaturday
1
2
112
Replying to @lemire
You should use creduce to minimize that.
1
2
311
You can make minimal repros using creduce fairly easily. Even with msvc, just do it under WSL and take advantage of the fact you can call native win32 programs. No advanced C++ skills necessary
1
1
2
159
creduce help text: --shaddap Suppress output about non-fatal internal errors [..] --sllooww Try harder to reduce, but perhaps take a long time to do so
1
2
320
Expectation: I have a bug, let me try to use C-Reduce to reduce it Reality: Run into a bug with C-Reduce itself Happy weekend I guess... Oh wait, it's just Thursday.
1
1
8
371
C-Reduce retweeted
Hey! Guess what came in the mail today! @sigplan @PLDI @creduce
7
4
91
4,703
Replying to @Cor3ntin @creduce
creduce is magic.
2
2
TFW the code creduce produces would probably not lead to a productive compiler bug report because it does weird things (like a null deref) that the original code doesn't do, but re-adding parts of the original code makes the bug you're trying to report not reproduce anymore...
3
1
4
Thanks - for now I wrote a script that inlines specific #included files but does not actually preprocess, then I used @creduce to do a reduction on that code, and things are working nicely.
1
2
I'm having a @creduce problem: my source file has been preprocessed using clang-14, and now gcc-11 is complaining about it with errors like: error: two or more data types in declaration specifiers 214 | typedef float _Float32; Anyone know how to solve this?
3
1
6
Congrats to @johnregehr and his collaborators on winning another @PLDI MIP award on his great compiler testing work. Well done!
4
8
110
Very well deserved, congrats! @creduce has had a lot of impact both in academia and practice!
.@johnregehr, Yang Chen, Pascal Cuoq, Chucky Ellison, Xuejun Yang, and I are very honored to receive the ACM @sigplan Most Influential @PLDI 2012 Paper Award for our paper, "Test-Case Reduction for C Compiler Bugs." doi.org/10.1145/2254064.2254… #pldi2022
2
2
11
Nice. It seemed to have that C-Reduce flavor
1
1
2
@johnregehr Did you use C-Reduce to help develop your entry here? tgceec.tumblr.com/post/74534…
1
3
It would be easiest to chuck this up abstractly to “tooling” or “such is life in a dynamic language” but there is such a huge body of productive work we can engage with - lightweight formal methods, TLA+/Alloy, CReduce integration and a host of others +
1
2
12
c-reduce, but for latex.
1
1
12
Replying to @_saagarjha
What's the deal with creduce + swift these days? Does it "just work" out of the box or is there a fork or some gotchas?
1
1
3