From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1721 invoked by alias); 26 Jul 2010 08:49:58 -0000 Received: (qmail 1661 invoked by uid 48); 26 Jul 2010 08:49:46 -0000 Date: Mon, 26 Jul 2010 08:49:00 -0000 Message-ID: <20100726084946.1660.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikpe at it dot uu dot se" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg02821.txt.bz2 ------- Comment #2 from mikpe at it dot uu dot se 2010-07-26 08:49 ------- With -Os on armv5tel I see a random number repeated 16 times, with -O2 I see the expected output. gcc-4.4 and gcc-4.5 are affected. (Can't test 4.6 or 4.3 right now.) -- mikpe at it dot uu dot se changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu dot se http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45070