Always happy to help!
Replying to @lauriewired
One contestant experimented with C-Reduce; a way to search for C++ programs that create unusual compiler behavior.
Maximizing the fitness function for error as a reward, no templates, no pre-processor hacks.
Just nested parenthesis causing exponential error output!
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.
C-Reduce retweeted
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.
"You can use C-Reduce for any language" by Max Bernstein.
bernsteinbear.com/blog/credu…
C-Reduce retweeted
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.
C-Reduce retweeted
I tried creduce to reduce a segfaulting test case and it reduced it to this 👍 #creduce #screenshotsaturday
We've all been there.
You’re unable to view this Post because this account owner limits who can view their Posts. Learn more
I love working the night shift. 🌜
Thanks for the shout out!
Replying to @atomgalaxy
I reduce a lot of compiler bugs, so I have a system that involves a directory full of stub stdlib/system headers, creduce, and some ready-made scripts.
I also have a 64-core machine. creduce takes it down to ~10k overnight, and I take it from there.
Thanks for the shout out!
Replying to @steubens7 @tom_verbeure
creduce is good to know regardless, it's just especially good at this
C-Reduce retweeted
Replying to @BruceDawson0xB @visualc
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
C-Reduce retweeted
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
C-Reduce retweeted
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.
C-Reduce retweeted
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...
C-Reduce retweeted
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?
















