------- Additional Comments From bangerth at dealii dot org  2004-10-20 18:00 -------
Here's something slightly smaller: 
------------------ 
#include <inttypes.h> 
#include <iostream> 
#include <iomanip> 
 
uint64_t mask1, mask2; 
 
uint64_t calc() { 
  return mask1 & mask2; 
} 
 
int main() 
{ 
  mask1 = 0x00000000FFFFFFFFull; 
  mask2 = 0x000000000000FFFFull; 
  uint64_t value = calc(); 
 
  std::cout << std::setfill('0'); 
 
  if(value != calc()) 
    abort (); 
} 
------------------------------ 
g/x> /home/bangerth/bin/gcc-3.4.3-pre/bin/c++ -O3 x.cc ; ./a.out  
Aborted 
 
I'll keep working on reducing this. 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18084

Reply via email to