This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #18 from ibolton at gcc dot gnu dot org  2010-09-07 11:07 -------
Subject: Bug 45070

Author: ibolton
Date: Tue Sep  7 11:07:31 2010
New Revision: 163945

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163945
Log:
2010-09-07  Ian Bolton  <ian.bolton@arm.com>

        Backport from mainline
        2010-09-01  Ian Bolton  <ian.bolton@arm.com>

        * Makefile.in (tree-switch-conversion.o): Update dependencies.

        2010-08-19  Ian Bolton  <ian.bolton@arm.com>

        PR target/45070
        * config/arm/arm.c (arm_output_epilogue): Ensure that return
        value of size 1-3 is handled correctly.

        * gcc.c-torture/execute/pr45070.c: New.

        2010-08-19  Ian Bolton  <ian.bolton@arm.com>

        * tree-switch-conversion.c (gen_inbound_check): Ensure that the
        type for the conditional has wide enough range.

        * g++.dg/pr44328.C: New test.

        2010-08-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * config/arm/linux-atomic.c (SUBWORD_VAL_CAS): Instantiate with
        'unsigned short' and 'unsigned char' instead of 'short' and 'char'.
        (SUBWORD_BOOL_CAS): Likewise.
        (SUBWORD_SYNC_OP): Likewise.
        (SUBWORD_TEST_AND_SET): Likewise.
        (FETCH_AND_OP_WORD): Parenthesise INF_OP
        (SUBWORD_SYNC_OP): Likewise.
        (OP_AND_FETCH_WORD): Likewise.

        * lib/target-supports.exp: (check_effective_target_sync_int_long):
        Add arm*-*-linux-gnueabi.
        (check_effective_target_sync_char_short): Likewise.


Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/pr44328.C
      - copied unchanged from r163774,
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/pr44328.C
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr45070.c
      - copied unchanged from r163774,
branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/execute/pr45070.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/Makefile.in
    branches/gcc-4_4-branch/gcc/config/arm/arm.c
    branches/gcc-4_4-branch/gcc/config/arm/linux-atomic.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/lib/target-supports.exp
    branches/gcc-4_4-branch/gcc/tree-switch-conversion.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]