[Bug target/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)

amker at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 7 10:52:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070

--- Comment #24 from amker at gcc dot gnu.org 2012-09-07 10:50:40 UTC ---
Author: amker
Date: Fri Sep  7 10:50:35 2012
New Revision: 191067

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191067
Log:
    Backport from 2012-09-04 mainline r190919

    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:
    branches/ARM/embedded-4_7-branch/gcc/ChangeLog.arm
    branches/ARM/embedded-4_7-branch/gcc/config/arm/arm.c



More information about the Gcc-bugs mailing list