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]

Re: [Bug target/13685] Building KDE3.2 clock applet with -march=pentium3 -O1 gives SIGSEGV


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


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