andrewchambers
andrewchambers
Thanks for your efforts. In the future its probably easiest to fuzz using https://embed.cs.utah.edu/csmith/ which is designed specifically for fuzzing compilers by generating random valid programs. The C test case...
Of course, but I don't really see why anyone cares about crashes in programs that a person would not manually write by hand. 1. The compiler is unprivileged. 2. You...
One more note - miscompilation bugs are generally the most valuable for a compiler. If code is accepted by a compiler, but the code produces an incorrect result, this is...
That is true, I imagine many of these are caused by some underlying bug or code smell anyway. It may take a while before we can fix them all haha.
Good spotting, its intending to copy in chunks of 8, then chunks of 4 then finish of the remaining bytes. The logic is wrong, it should be (i + 8)...
Same issue in emit_copy_struct
This is basically the same as #27 I think (My fix wasn't general enough because the bug was somewhere else). The code generator changes may resolve this automatically.
What file? the contents of the file are what I showed. Simply that single line.
Nothing in the code looks too crazy, though large parts of the code are being rewritten atm so the issue might need to wait until after the rewrite. I'll make...
@rdebath I don't think we want crazy :). Sane code with errors is more useful. Also, 8cc doesn't do constant folding, it may need to in the future to fix...