From 09f8027ce58fb2162fc6577cc7777409cfd06014 Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Thu, 28 Nov 2019 10:29:30 +0000 Subject: [PATCH] Must use push insn to pass varargs arguments of DFmode because otherwise the middle-end generates wrong code. Must use push insn to pass varargs arguments of DFmode because otherwise the middle-end generates wrong code. PR target/92055 * config/avr/avr.md (MPUSH) [DF, DC]: Add modes to mode iterator. From-SVN: r278805 --- gcc/ChangeLog | 8 ++++++++ gcc/config/avr/avr.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e032f7b579..b1c424000b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2019-11-28 Georg-Johann Lay + + Must use push insn to pass varargs arguments of DFmode because + otherwise the middle-end generates wrong code. + + PR target/92055 + * config/avr/avr.md (MPUSH) [DF, DC]: Add modes to mode iterator. + 2019-11-28 Jakub Jelinek PR tree-optimization/92691 diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md index f711d4e3dc6..6bec4fb8acd 100644 --- a/gcc/config/avr/avr.md +++ b/gcc/config/avr/avr.md @@ -399,7 +399,7 @@ SI CSI SA USA SQ USQ DI CDI DA UDA DQ UDQ TA UTA - SF SC + SF DF SC DC PSI]) (define_expand "push1" -- 2.30.2