This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Sep 2012 09:36:48 +0000
- Subject: [Bug target/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)
- Auto-submitted: auto-generated
- References: <bug-45070-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070
--- Comment #20 from amker at gcc dot gnu.org 2012-09-04 09:36:48 UTC ---
Author: amker
Date: Tue Sep 4 09:36:44 2012
New Revision: 190919
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190919
Log:
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.
Modified:
trunk/gcc/config/arm/arm.c