From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13706 invoked by alias); 19 Jan 2004 08:11:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13694 invoked by uid 48); 19 Jan 2004 08:11:43 -0000 Date: Mon, 19 Jan 2004 08:11:00 -0000 Message-ID: <20040119081143.13693.qmail@sources.redhat.com> From: "roger dot larsson at norran dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040114182833.13685.roger.larsson@norran.net> References: <20040114182833.13685.roger.larsson@norran.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/13685] Building KDE3.2 clock applet with -march=pentium3 -O1 gives SIGSEGV X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg02182.txt.bz2 List-Id: ------- Additional Comments From roger dot larsson at norran dot net 2004-01-19 08:11 ------- This is the shortest code yet (matrix.cpp) I found that generates the offending instruction (movaps) - but I have not yet succeeded in getting the stack unaligned... [Do you need that too?] class RTime { public: int minute() {} }; void rotate(float x) { } int main() { RTime _time; // hour float h_angle = _time.minute(); rotate(-h_angle); // minute float m_angle = _time.minute(); rotate(-m_angle); } I am pretty sure that Qt should be simple to Compile with: gcc -I/usr/src/kde/qt-copy/mkspecs/linux-g++ -I../../include -o matrix.o -march=pentium3 -O1 matrix.cpp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13685