------- Comment #1 from pinskia at gcc dot gnu dot org  2009-01-12 21:37 -------
*(unsigned long *)this=l;

You are violating C/C++ aliasing rules which invokes undefined behavior as you
are accessing a giChannelTiming as a unsigned long.

Either use -fno-strict-aliasing or memcpy or unions or the attribute may_alias
to fix your code


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to