[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
Wed Sep 5 10:55:00 GMT 2012


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

--- Comment #23 from amker at gcc dot gnu.org 2012-09-05 10:54:11 UTC ---
Author: amker
Date: Wed Sep  5 10:54:08 2012
New Revision: 190971

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190971
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/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/arm/arm.c



More information about the Gcc-bugs mailing list