[Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

2006-04-05 Thread l_heldt at poczta dot onet dot pl
--- Comment #1 from l_heldt at poczta dot onet dot pl 2006-04-05 15:17 --- Created an attachment (id=11212) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11212action=view) File containing hash specifications -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27045

[Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

2006-04-05 Thread l_heldt at poczta dot onet dot pl
--- Comment #2 from l_heldt at poczta dot onet dot pl 2006-04-05 15:17 --- Created an attachment (id=11213) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11213action=view) Implementation of RequestId -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27045

[Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

2006-04-05 Thread l_heldt at poczta dot onet dot pl
--- Comment #3 from l_heldt at poczta dot onet dot pl 2006-04-05 15:18 --- After compilation: g++ test.cpp req.cpp -O0 program works fine. After compilation with: g++ test.cpp req.cpp -O2 it breaks with SIGABRT. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27045

Re: [Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

2006-04-05 Thread Graham Stott
All, Not a bug, this is yet another case of type pruning. Use -fno-strict-aliasing or fix your code. Graham

[Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

2006-04-05 Thread graham dot stott at btinternet dot com
--- Comment #4 from graham dot stott at btinternet dot com 2006-04-05 16:00 --- Subject: Re: c++ is generating incorrect optimized code for xor operations on long long All, Not a bug, this is yet another case of type pruning. Use -fno-strict-aliasing or fix your code. Graham --

Re: [Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

2006-04-05 Thread Graham Stott
All, Not a bug, this is yet another case of type pruning. Use -fno-strict-aliasing or fix your code. Graham

[Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

2006-04-05 Thread graham dot stott at btinternet dot com
--- Comment #5 from graham dot stott at btinternet dot com 2006-04-05 16:00 --- Subject: Re: c++ is generating incorrect optimized code for xor operations on long long All, Not a bug, this is yet another case of type pruning. Use -fno-strict-aliasing or fix your code. Graham --

[Bug c++/27045] c++ is generating incorrect optimized code for xor operations on long long

2006-04-05 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2006-04-05 16:13 --- *** This bug has been marked as a duplicate of 21920 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added