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]

[Bug middle-end/18008] [4.0 Regression] Duplicate mask on bitfield insertion


------- Additional Comments From steven at gcc dot gnu dot org  2005-01-26 02:12 -------
g++ produces the same code as 3.3.  The .optimized dump for cc1plus: 
 
void store(B*, int) (b, v) 
{ 
  unsigned int v.0; 
 
<bb 0>: 
  b->b = (unsigned int) v; 
  return; 
 
} 
 
Look mom, no casts! 
 

-- 


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


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