public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: Jan Hubicka <hubicka@ucw.cz>
To: roger dot larsson at norran dot net <gcc-bugzilla@gcc.gnu.org>
Cc: gcc-bugs@gcc.gnu.org
Subject: Re: [Bug target/13685] Building KDE3.2 clock applet with -march=pentium3 -O1 gives SIGSEGV
Date: Mon, 19 Jan 2004 10:42:00 -0000	[thread overview]
Message-ID: <20040119104202.GE31365@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <20040119081143.13693.qmail@sources.redhat.com>

> 
> ------- 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?] 

Roger,
I am not able to reproduce it from your testcase, but sending the
assembly file produces with g++ -O1 -march=pentium3 -dp -S will probably
give me enough information to fix it.

Thanks!
Honza
>  
> 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


  reply	other threads:[~2004-01-19 10:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-14 18:28 [Bug c++/13685] New: " roger dot larsson at norran dot net
2004-01-14 18:33 ` [Bug c++/13685] " roger dot larsson at norran dot net
2004-01-14 18:34 ` [Bug target/13685] " pinskia at gcc dot gnu dot org
2004-01-14 19:51 ` roger dot larsson at norran dot net
2004-01-14 23:50 ` roger dot larsson at norran dot net
2004-01-16 16:00 ` thiagom at mail dot com
2004-01-18 18:07 ` dhazeghi at yahoo dot com
2004-01-19  6:38 ` roger dot larsson at norran dot net
2004-01-19  8:11 ` roger dot larsson at norran dot net
2004-01-19 10:42   ` Jan Hubicka [this message]
2004-01-19 10:42 ` hubicka at ucw dot cz
2004-01-19 12:48 ` roger dot larsson at norran dot net
2005-01-07  9:49 ` [Bug target/13685] Building simple test application with -march=pentium3 -Os gives SIGSEGV (unaligned sse instruction) roger dot larsson at norran dot net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040119104202.GE31365@atrey.karlin.mff.cuni.cz \
    --to=hubicka@ucw.cz \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-bugzilla@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).