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

2012-09-07 Thread amker at gcc dot gnu.org
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=gccview=revrev=191067 Log: Backport from 2012-09-04 mainline

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

2012-09-07 Thread amker at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070 --- Comment #25 from amker at gcc dot gnu.org 2012-09-07 11:01:02 UTC --- Author: amker Date: Fri Sep 7 11:00:52 2012 New Revision: 191068 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191068 Log: Backport from 2012-09-04 mainline

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

2012-09-05 Thread amker at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070 --- Comment #22 from amker at gcc dot gnu.org 2012-09-05 10:50:00 UTC --- Author: amker Date: Wed Sep 5 10:49:56 2012 New Revision: 190970 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=190970 Log: Backport from 2012-09-04 mainline

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

2012-09-05 Thread amker at gcc dot gnu.org
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=gccview=revrev=190971 Log: Backport from 2012-09-04 mainline

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

2012-09-04 Thread amker at gcc dot gnu.org
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=gccview=revrev=190919 Log: PR target/45070 *

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

2012-09-04 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070 Ramana Radhakrishnan ramana at gcc dot gnu.org changed: What|Removed |Added CC|

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

2010-09-14 Thread rearnsha at gcc dot gnu dot org
--- Comment #19 from rearnsha at gcc dot gnu dot org 2010-09-14 14:05 --- Fixed in all maintained releases. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

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

2010-09-07 Thread ibolton at gcc dot gnu dot org
--- Comment #17 from ibolton at gcc dot gnu dot org 2010-09-07 09:26 --- (In reply to comment #16) I'd like it backported to 4.4 if possible, thanks Just awaiting approval on the mailing list. It's ready to go. -- ibolton at gcc dot gnu dot org changed: What

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

2010-09-07 Thread ibolton at gcc dot gnu dot org
--- 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=gccview=revrev=163945 Log: 2010-09-07 Ian Bolton ian.bol...@arm.com Backport

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

2010-09-04 Thread armin76 at gentoo dot org
--- Comment #16 from armin76 at gentoo dot org 2010-09-04 16:41 --- I'd like it backported to 4.4 if possible, thanks -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070

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

2010-09-02 Thread ibolton at gcc dot gnu dot org
--- Comment #15 from ibolton at gcc dot gnu dot org 2010-09-02 13:05 --- Subject: Bug 45070 Author: ibolton Date: Thu Sep 2 13:05:30 2010 New Revision: 163774 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163774 Log: 2010-09-02 Ian Bolton ian.bol...@arm.com Backport

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

2010-08-19 Thread ramana at gcc dot gnu dot org
--- Comment #14 from ramana at gcc dot gnu dot org 2010-08-19 08:28 --- Subject: Bug 45070 Author: ramana Date: Thu Aug 19 08:27:59 2010 New Revision: 163367 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163367 Log: For Ian Bolton ian.bol...@arm.com 2010-08-19 Ian Bolton

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

2010-08-14 Thread armin76 at gentoo dot org
--- Comment #12 from armin76 at gentoo dot org 2010-08-14 15:33 --- Any news? :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070

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

2010-08-14 Thread siarhei dot siamashka at gmail dot com
--- Comment #13 from siarhei dot siamashka at gmail dot com 2010-08-14 16:28 --- (In reply to comment #12) Any news? :) http://gcc.gnu.org/ml/gcc-patches/2010-08/msg00894.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070

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

2010-08-03 Thread ian dot bolton at arm dot com
--- Comment #11 from ian dot bolton at arm dot com 2010-08-03 17:13 --- I have regression-tested the patch for gcc and g++ with target=arm-eabi and created a regression testsuite case for it, so I expect to be able to submit both to the mailing list for review in the next day or so.

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

2010-07-28 Thread siarhei dot siamashka at gmail dot com
--- Comment #6 from siarhei dot siamashka at gmail dot com 2010-07-28 08:37 --- 'arm_size_return_regs()' returns 2 when generating epilogue for 'next' function here. And as a result, return value not registered in the mask, causing it to be clobbered. Would the following patch be the

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

2010-07-28 Thread ramana at gcc dot gnu dot org
--- Comment #7 from ramana at gcc dot gnu dot org 2010-07-28 09:01 --- Thanks for the analysis, yes that appears to be the nub of the problem with the result being removed . I see the same problem on trunk - Patches should however be submitted to gcc-patc...@gcc.gnu.org after

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

2010-07-28 Thread ramana at gcc dot gnu dot org
--- Comment #8 from ramana at gcc dot gnu dot org 2010-07-28 09:22 --- (In reply to comment #7) Thanks for the analysis, yes that appears to be the nub of the problem with the result being removed . I see the same problem on trunk - I just realized that this is a packed

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

2010-07-28 Thread rearnsha at gcc dot gnu dot org
--- Comment #9 from rearnsha at gcc dot gnu dot org 2010-07-28 09:34 --- (In reply to comment #8) I just realized that this is a packed structure and probably need to look up the semantics of this in the AAPCS. IIRC the AAPCS states that it doesn't support packed structures or

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

2010-07-28 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2010-07-28 09:45 --- (In reply to comment #8) I just realized that this is a packed structure and probably need to look up the semantics of this in the AAPCS. IIRC the AAPCS states that it doesn't support packed structures or bitfields