re PR target/45070 (Miscompiled c++ class with packed attribute on ARM with -Os optim...
commit12b48dc897e64ae199c0201d9602d93a5245af20
authorBin Cheng <amker@gcc.gnu.org>
Tue, 4 Sep 2012 09:36:44 +0000 (4 09:36 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Tue, 4 Sep 2012 09:36:44 +0000 (4 09:36 +0000)
treea11db9245a01d8f255e2cdd67164172922b93c7e
parenta8886f7d1859cebce5db37598c4bae54cc51db1d
re PR target/45070 (Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2))

PR target/45070
* config/arm/arm.c (thumb1_extra_regs_pushed): Handle return value of size
less than 4 bytes by using macro ARM_NUM_INTS.
(thumb1_unexpanded_epilogue): Use macro ARM_NUM_INTS.

From-SVN: r190919
gcc/config/arm/arm.c