------- Comment #11 from pinskia at gcc dot gnu dot org  2006-08-26 14:40 
-------
A related testcase is:
int f(short a)
{
  unsigned short b = *(unsigned short*)&a;
  return b;

}
---- Which should be optimized into ------
int f1(short a)
{
  unsigned short b = a;
  return b;
}


-- 


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

Reply via email to