On 5/16/23 02:56, Georg-Johann Lay wrote:
This patch removes the superfluous parallel in [u]divmod patterns
in the AVR backend.  Effect of extra parallel is that add_clobbers
reaches gcc_unreachable() because the clobbers for [u]divmod are
missing.  The parallel around the parts of an insn pattern is
implicit if it has multiple parts like clobbers, so extra parallel
should be removed.

Ok to apply?

Johann

--

gcc/
     PR target/105753
     * config/avr/avr.md (divmodpsi, udivmodpsi, divmodsi, udivmodsi):
     Remove superfluous "parallel" in insn pattern.
     ([u]divmod<mode>4): Tidy code.  Use gcc_unreachable() instead of
     printing error text to assembly.

gcc/testsuite/
     PR target/105753
     * gcc.target/avr/torture/pr105753.c: New test.
OK
jeff

Reply via email to