aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2019-11-28 10:29:30 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2019-11-28 10:29:30 +0000
commit09f8027ce58fb2162fc6577cc7777409cfd06014 (patch)
treecef90cd2c18443e402a27ca08019ab820169520d /gcc
parentd68f5edfaf04b5efb4b1c3eb2f016f6713357b10 (diff)
downloadgcc-09f8027ce58fb2162fc6577cc7777409cfd06014.zip
gcc-09f8027ce58fb2162fc6577cc7777409cfd06014.tar.gz
gcc-09f8027ce58fb2162fc6577cc7777409cfd06014.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/avr/avr.md2
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7e032f7..b1c4240 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2019-11-28 Georg-Johann Lay <avr@gjlay.de>
+
+ 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 <jakub@redhat.com>
PR tree-optimization/92691
diff --git a/gcc/config/avr/avr.md b/gcc/config/avr/avr.md
index f711d4e..6bec4fb 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 "push<mode>1"