Quoting "Paulo J. Matos" <pa...@matos-sorge.com>:
My addition instruction sets all the flags. So I have:
This is annoying, but can be handled. Been there, done that. dse.c needs a small patch, which I intend to submit sometime in the future.
And all my (define_insn "*mov..." are tagged with a (clobber (reg:CC RCC)). This generates all kinds of trouble since GCC generates moves internally without the clobber that fail to match.
I don't think that can be overcome without cc0. Unless you want to hide your flags register altogether.